Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.4
-
None
Description
Adding ENABLE_TYPE_COMPILER to qt_add_qml_module fails, if a qml files has two versions (one basic, one with a +selector)
See QTBUG-104571 for the setup details
CMake Error at C:/Qt/6.4.0/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1258 (add_custom_command):
Attempt to add a custom rule to output C:/Users/sandman/git/build-brickstore-Desktop_Qt_6_4_0_MSVC2019_64bit-RelWithDebInfo/src/mobile/.qmltc/mobile_module/stylehelper.h.rule which already has a custom rule.
Call Stack (most recent call first):
C:/Qt/6.4.0/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:647 (_qt_internal_target_enable_qmltc)
C:/Qt/6.4.0/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:662 (qt6_add_qml_module)
src/mobile/CMakeLists.txt:27 (qt_add_qml_module)
CMake Error: Files to be generated by multiple different commands: "C:/Users/sandman/git/build-brickstore-Desktop_Qt_6_4_0_MSVC2019_64bit-RelWithDebInfo/src/mobile/.qmltc/mobile_module/moc_stylehelper.cpp_parameters_RelWithDebInfo"
Attachments
Issue Links
- duplicates
-
QTBUG-104571 qmllint does not like Selectors
- Closed