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