Details
-
Task
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
16f1705b1 (dev)
Description
If you want build a static backend plugin a CLASS_NAME needs to be provided in the qt_add_plugin call.
This makes sure a _init library is created and that the plugin is imported when linked against the plugin.
As the plugin code is autogenerated and usually qt_ifcodegen_extend_target is used it's already too late to set the name from within the generator. Without setting the correct name the executable can't be linked because of undefined references.
Attachments
For Gerrit Dashboard: QTBUG-123370 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
564052,9 | CMake: Add a new qt_ifcodegen_add_plugin function | dev | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |