Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Can I query a plugin for its supported Q_Properties ?
QtWS25 Last Chance

Can I query a plugin for its supported Q_Properties ?

Scheduled Pinned Locked Moved German
2 Posts 2 Posters 2.0k Views
  • 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.
  • T Offline
    T Offline
    ThomasJoachim
    wrote on last edited by
    #1

    Hello
    For learning I made a plugin with some properties.
    In a test application I'm loading the dll dynamically with QPluginLoader and I can use the properties as expected.

    Now I want to see, which properties are supported by my plugin in order to make something like a "generic" property editor.
    Are there possibilities?

    Thanks in advance

    Thomas

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Every QObject has a "QMetaObject":http://developer.qt.nokia.com/doc/qt-4.8/qmetaobject.html, which allows for retrieving information about properties. See also QObject::metaObject(), QMetaObject::propertyCount(), QMetaObject::property() and QMetaProperty.

      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