Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.1
-
None
-
iOS
-
-
23e2cc38ffcc725e8b5a4ac76941c278af86e388
Description
Found from smoke testing 5.9.1 snapshot (#462).
When I try any of the examples in creator (e.g gallery), they fail to build and install to device with the message:
Error while building/deploying project gallery (kit: iphoneos-clang Qt 5.9.1 for iOS2) When executing step "Deploy to Richard sin iPhone"
The same for simulator:
Error while building/deploying project gallery (kit: iphonesimulator-clang Qt 5.9.1 for iOS2) When executing step "Deploy to iOS Simulator"
If I try the same with "iphone-os-clang Qt 5.9.0 for iOS", it works.
In the General Messages tab, I get a lot of these messages:
/bin/sh: QMAKE_MAC_SDK_PATH: command not found Project ERROR: Cannot run compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Maybe you forgot to setup the environment? Error while parsing file /Users/richard/dev/qt-package/Examples/Qt-5.9/quickcontrols2/gallery/gallery.pro. Giving up. /bin/sh: QMAKE_MAC_SDK_PATH: command not found Project ERROR: Cannot run compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Maybe you forgot to setup the environment? Error while parsing file /Users/richard/dev/qt-package/Examples/Qt-5.9/quickcontrols2/gallery/gallery.pro. Giving up.
But, surely, clang++ exists:
ll /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ lrwxr-xr-x 1 root wheel 5B Dec 23 2016 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -> clang
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-18596 iOS - QMAKE_MAC_SDK_PATH: command not found
-
- Closed
-