-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.10
-
None
-
847afd03c (dev), 2e9a37eb8 (6.10), 078f06802 (dev), 8d1e9ffea (6.10), fcbd905d3 (6.9), 5042e6b3a (tqtc/lts-6.8), a06515d48 (tqtc/lts-6.5), c7723e6c2 (6.9), cae573bd7 (tqtc/lts-6.8), 5aced7fa7 (tqtc/lts-6.5)
On MacOS, it is pretty custom to use app bundle names with spaces, e.g. "Qt Creator.app". But this results in errors at installation time, if using qt_generate_deploy_qml_app_script():
if(APPLE) set_target_properties(appappbundletest PROPERTIES OUTPUT_NAME "App Bundle Test" MACOSX_BUNDLE_BUNDLE_NAME "App Bundle Test" MACOSX_BUNDLE TRUE ) endif() // ... qt_generate_deploy_qml_app_script( TARGET appappbundletest OUTPUT_SCRIPT deploy_script MACOS_BUNDLE_POST_BUILD NO_UNSUPPORTED_PLATFORM_ERROR DEPLOY_USER_QML_MODULES_ON_UNSUPPORTED_PLATFORM ) install(SCRIPT ${deploy_script})
Resuls in
CMake Error at /Users/kkoehne/Qt/6.10.0/macos/lib/cmake/Qt6Core/Qt6CoreDeploySupport.cmake:666 (message): Unparsed arguments: Bundle;Test.app Call Stack (most recent call first): .qt/deploy_qml_app_appappbundletest_d10f54b60a.cmake:7 (qt6_deploy_runtime_dependencies) cmake_install.cmake:52 (include)