Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 16.0.1
-
None
-
-
b707c340e (17.0)
Description
Using the "Qt Console Application Wizard" in Qt Creator produces a CMakeLists.txt that does not configure with Qt 6.6.3 for macOS:
[cmake] CMake Error at /Users/kkoehne/Qt/6.6.3/macos/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3166 (message):
[cmake] Executable targets have to be app bundles to use this command on Apple
[cmake] platforms.
[cmake] Call Stack (most recent call first):
[cmake] /Users/kkoehne/Qt/6.6.3/macos/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:3219 (qt6_generate_deploy_app_script)
[cmake] CMakeLists.txt:25 (qt_generate_deploy_app_script)
This is due to the call to qt_generate_deploy_app_script() in the generated CMakeLists.txt.
For Qt 6.9, the error is mitigated by the NO_UNSUPPORTED_PLATFORM_ERROR option. Anyhow, this doesn't work for Qt 6.6.