[Interest] "Failed to process makespec for platform 'macx-clang'"

Bob Hood bhood2 at comcast.net
Tue Jul 21 18:24:35 CEST 2015


Found it: The "-sdk" argument format has changed for Qt5.  I needed to specify 
it as "macosx10.9" instead of the path.

On 7/21/2015 10:02 AM, Bob Hood wrote:
> I'm trying to build Qt 5.4.2 under OS X Yosemite using Xcode 6.1.1.  I've 
> run both "xcrun -f llvm-g++" and "xcrun -f clang", and only the latter is 
> successfully located.  So after setting "QMAKESPEC=macx-clang" into the 
> environment, I run:
>
>     ./configure -opensource -confirm-license -sdk
>     /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
>     -arch x86_64 -prefix /usr/local/qt/5.4.2/macx -release -nomake examples
>     -nomake tests -openssl-linked -I /Users/bob/openssl-1.0.1h/include -L
>     /Users/bob/openssl-1.0.1h/lib
>
> After QMAKE is built, I'm getting this error:
>
>     ...
>     Running configuration tests...
>     Failed to process makespec for platform 'macx-clang'
>     Turn on verbose messaging (-v) to see the final report.
>
> I set the '-v' flag, and I got the following additional output:
>
>     Project ERROR: QMAKE_MAC_SDK can only contain short-form SDK names (eg.
>     macosx, iphoneos)
>
> Anybody have any insights here?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150721/30f71c0a/attachment.html>


More information about the Interest mailing list