Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.1.0 Beta3
-
None
Description
i'm having an architecture like this:
add_library( SomeReusableComponents ... ) qt6_import_qml_plugins( SomeReusableComponents ) add_executable( EndUserTarget ) target_link_libraries( EndUserTarget SomeReusableComponents ) qt6_import_qml_plugins( EndUserTarget )
the problem is: if `SomeReusableCompenents` depends on a qml plugin, it will be added to its `Qt6_QmlPlugins_Imports_XXX.cpp`, but this usage requirement will not be propagated to `EndUserTarget`
Attachments
Issue Links
- depends on
-
QTBUG-82598 Establish a public API for building static QML plugins
- Closed
- is duplicated by
-
QTBUG-80847 qt5_import_qml_plugins does not compose
- Closed
- relates to
-
QTBUG-94605 Validate use case of qmlimportscanner returning info about a qml plugin without a CMake target
- Reported
-
QTBUG-92933 Rework automatic static plugin linkage
- Closed
-
QTBUG-80863 [cmake] excessive compilation of Import.cpp files for static plugins
- Closed
For Gerrit Dashboard: QTBUG-93257 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
353635,25 | CMake: Use object library initializers for qml plugins | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
354934,14 | CMake: Assign output targets to appropriate export sets | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
355375,4 | CMake: Adjust QML plugin class name auto-computing | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
355378,4 | CMake: Adjust QML plugin class name auto-computing | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
356686,2 | CMake: Use object library initializers for qml plugins | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
356788,2 | CMake: Assign output targets to appropriate export sets | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |