Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
dev
-
None
-
-
061891ffe (dev), 3e5a75002 (6.7), d276d025a (dev), 5e60f6d14 (6.7), 7d26fdbe1 (6.6), aef40493f (tqtc/lts-6.5)
Description
Our CMake magic puts the qmldir file into the target specific build dir, foo/qmldir, while the library, when using the Xcode generator ends up in foo/Debug/. We then try to copy the qmldir, via add_qml_module_to_macos_app_bundle, but do so via "$<TARGET_FILE_DIR:${qml_plugin_target}>/qmldir", which tries to find it in foo/Debug/qmldir.
Resulting in:
Showing Recent Issues Error copying file (if different) from "/Users/torarne/build/qt/6.x/examples/winembedxcode/shared/Debug/qmldir" to "/Users/torarne/build/qt/6.x/examples/winembedxcode/Debug/windowembedding.app/Contents/MacOS/../PlugIns/shared".
Also reproducible with the Ninja Multi-Config generator.
Attachments
For Gerrit Dashboard: QTBUG-120479 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
527268,6 | windowembedding example: Disable signing via target property | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
528048,5 | Change the way tests and examples query the qmldir file from QML plugin targets | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
529308,2 | windowembedding example: Disable signing via target property | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
530953,2 | Change the way tests and examples query the qmldir file from QML plugin targets | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
531137,3 | Change the way tests and examples query the qmldir file from QML plugin targets | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
533106,2 | Change the way tests and examples query the qmldir file from QML plugin targets | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |