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 it possible to load Qt Designer custom widget plugin just like what does in Qt Designer?
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 365 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.
  • R Offline
    R Offline
    rickluo
    wrote on last edited by rickluo
    #1

    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
    0

    • Login

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