One dll for multiple kinds of plugins?
-
Can I place two kinds of plugins in one dll?
i.e. a QDesignerCustomWidgetInterface and a QStylePlugin, in one dll? -
No. One plugin one implementation. You can have multiple interfaces and implement them one plugin.
-
Multiple qt-designer widgets implement in one dll:
Use QDesignerCustomWidgetCollectionInterface class, it allows you to include several custom widgets in one single library.
https://doc.qt.io/qt-6/qdesignercustomwidgetcollectioninterface.html