Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 11.0.0-beta1
Description
See the example below (taken from https://www.qt.io/blog/qt-creator-11-cmake-update )
After adding a *.qml file...
Actual outcome:
qt_add_qml_module(appQuickApp URI QuickApp VERSION 1.0 QML_FILES Main.qml QML_FILES Item.qml )
Expected outcome:
qt_add_qml_module(appQuickApp URI QuickApp VERSION 1.0 QML_FILES Main.qml Item.qml ) # OR... qt_add_qml_module(appQuickApp URI QuickApp VERSION 1.0 QML_FILES Main.qml Item.qml ) # OR some other arrangement that doesn't duplicate `QML_FILES`
After removing all *.qml files...
Actual outcome:
qt_add_qml_module(appQuickApp URI QuickApp VERSION 1.0 QML_FILES QML_FILES )
Expected outcome:
qt_add_qml_module(appQuickApp URI QuickApp VERSION 1.0 )
Notes
Similar issues occur with the SOURCES field for qt_add_qml_module()
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-29879 New QML_FILES entry added for each QML file added to project
-
- Closed
-