Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.0 RC
-
None
-
macOS 10.14.0, 10.14.1 (mojave)
Description
Setting 10.14 as deployment target will make the initial window of a QtQuick application show no content.
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14)
or
-mmacosx-version-min=10.14
Steps to reproduce:
- Create a new QtQuick application (Template empty) with QtCreator
- Choose cmake
- Modify the main.qml to show a label or something
- Build & Run the project
=>Empty Window! Resize window to "fix" this.
Choosing cmake sets the deployment target to 10.14 per default (when building against 10.14 SDK). With qmake it's 10.11 so the problem does not show up directly.
Workaround is to set a < 10.14 deployment target:
# must go before project! set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12" CACHE STRING "Minimum OS X deployment version")
Attachments
Issue Links
- is duplicated by
-
QTBUG-72354 cmake: crash when using DYLD_IMAGE_SUFFIX=_debug ( debug )
- Closed