Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
-
0cca1f27fe32fdf62850b2037509ff1d516a6309 (qt/tqtc-qtdeclarative/6.2) 2a374f15a8b40da008b3fa6d868359e49c2bae06 (qt/tqtc-qtdeclarative/dev)
Description
One might try to add 2 qml modules in the same directory scope like here
https://codereview.qt-project.org/c/qt/qtdeclarative/+/359918/5/tests/auto/qml/qmlbasicapp/CMakeLists.txt
This would silently override the qmldir.
We should FATAL_ERROR if qt_add_qml_module is called twice within the same directory scope.
Perhaps also if qt_add_qml_plugin is called twice in the same scope, it that even make sense.
Attachments
Issue Links
- relates to
-
QTBUG-131296 qmlls fails to parse some QML modules and C++ types when there is more than one QML module in a directory
- Closed
- resulted in
-
QTBUG-103594 qt_add_qml_module default value for OUTPUT_DIRECTORY creates conflicts
- Reported