Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
-
847afd03c (dev)
Description
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)
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-138155 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
657656,1 | qt_generate_deploy_app_script: Handle executable names with spaces | dev | qt/qtbase | Status: NEW | +2 | 0 |
658287,1 | qt_generate_deploy_app_script: Handle executable names with spaces | 6.10 | qt/qtdeclarative | Status: NEW | +2 | 0 |
657655,3 | qt_generate_deploy_app_script: Handle executable names with spaces | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |