Details
-
Task
-
Resolution: Done
-
P1: Critical
-
6.2.2, 6.3.0 Alpha
-
None
-
-
ea7024ef7b (qt/qtdeclarative/dev) 96ee81abd9 (qt/qtdeclarative/6.3) 8042ecdb8b (qt/qtdeclarative/6.2) 8042ecdb8b (qt/tqtc-qtdeclarative/6.2) 96ee81abd9 (qt/tqtc-qtdeclarative/6.3) ea7024ef7b (qt/tqtc-qtdeclarative/dev) 8042ecdb8b (qt/qtdeclarative/6.2.4)
Description
Configuring any module created via qt_add_qml_module containing QML_FILE entries will fail with the following message:
CMake Error in examples/ios/CMakeLists.txt: The custom command generating /Users/max/qt-dev/hackathon/build-qthealth-Qt_6_3_0_for_iOS/examples/ios/iosExample/WorkoutList.qml is attached to multiple targets: iosExample_tooling iosExample_qmllint but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system".
This can be worked around by using NO_LINT (disabling qmllint) or using the older Xcode generator (-T buildsystem=1) for now.
Attachments
Issue Links
- relates to
-
QTBUG-95763 Configuring an executable with an attached qml module fails when using the Xcode generator
- Closed
For Gerrit Dashboard: QTBUG-100307 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
394037,2 | CMake: Fix issue with Xcode common dep between qmllint and tooling | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
395588,2 | CMake: Fix issue with Xcode common dep between qmllint and tooling | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
395609,2 | CMake: Fix issue with Xcode common dep between qmllint and tooling | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |