Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
Currently qt_add_qml_module / qt_target_qml_sources expect the QT_QML_SINGLETON_TYPE source file property to be set before the functions are called.
We could try and improve that by querying the source file property just before the qmldir file is generated instead.
Alternatively we could introduce a new QML_SINGLETONS option that takes a list of qml files that implement singletons, which would be used instead of QML_FILES + QT_QML_SINGLETON_TYPE source file property.
Attachments
Issue Links
- relates to
-
QTBUG-117093 Document that the QT_QML_SINGLETON_TYPE property needs to be set before the qt_add_qml_module call
-
- Closed
-