Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is there an introspection mechanism for Qt plugin to retrieve the list of types registered ?
Forum Updated to NodeBB v4.3 + New Features

Is there an introspection mechanism for Qt plugin to retrieve the list of types registered ?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 336 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CharbyC Offline
    CharbyC Offline
    Charby
    wrote on last edited by
    #1

    Hi,
    I have creating a set of display components (as QML and QQuickPaintedItem based components) available as a plugin inheriting QQmlEngineExtensionPlugin.
    To test and visualize the plugin, I have wrote a small application to visualize and modify the plugin components dynamically loaded. This is working well but it is relying on a static stringlist defined in the app with the name of the components registered by the plugin that could be dynamically loaded. Is there a mean to retrieve the list of registered type of a given plugin so that I could get rid of the string list ?
    Thanks for your help.

    1 Reply Last reply
    0
    • CharbyC Offline
      CharbyC Offline
      Charby
      wrote on last edited by
      #2

      I came to the idea of adding a context property (set initializeEngine) publishing the needed meta data...not ideal yet but good enough for my needs so far...

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved