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.