Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Is it possible to load Qt Designer custom widget plugin just like what does in Qt Designer?

    General and Desktop
    1
    1
    213
    Loading More Posts
    • 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.
    • R
      rickluo last edited by rickluo

      I'd like to load Qt Designer custom widget plugins (which implement QDesignerCustomWidgetInterface interface) and show a list of them in my app, just like what does in Qt Designer WidgetBox.

      How to do that?

      I tried to #include <QtUiPlugin/customwidget.h> in my application, but it don't compile. Error:
      use undefined class QDesignerCustomWidgetInterface.
      And my project profile is like this:
      QT += core gui designer
      TEMPLATE = app
      0_1495630315942_upload-1c69e2c8-ca93-4b5a-83e3-991167de0061

      1 Reply Last reply Reply Quote 0
      • First post
        Last post