How to fix Qt Creator errors after installing macOS Mojave?
-
Qt Creator is unable to compile my unchanged code after installing macOS 10.14 Mojave.
First of all, there is a warning as soon as I open the project. It says "Project WARNING: Qt has only been tested with version 10.13 of the platform SDK, you're using 10.14. (...) Please downgrade the SDK you use to build your app to version 10.13 (...)"
Attempting to compile then gives me the following error: "qglobal.h:45:12: fatal error: 'type_traits' file not found"
Would downgrading SDK to 10.13 fix this? And how do I do that? I appreciate your help.
[Qt version 5.11.2]
[macOS 10.14 Mojave] -
Hi,
Did you also upgrade Xcode to 10.0 ?
AFAIR, currently, you can't download older versions of the SDK unless you download an older version of Xcode.
It's not ideal but you can alway build Qt yourself. It's not complicated on macOS.
-
Hi,
Did you also upgrade Xcode to 10.0 ?
AFAIR, currently, you can't download older versions of the SDK unless you download an older version of Xcode.
It's not ideal but you can alway build Qt yourself. It's not complicated on macOS.