[Interest] Bug (?) in qtbase/configure for Mac

Eric Feigenson eric at feigenson.net
Fri May 9 06:42:46 CEST 2014


I think (pretty sure, actually), I found a bug in qtbase/configure for the Mac for Qt 5.3.0 RC1

The issue is the code that handles the -sdk command-line option.

at line 1216 it sez:

  DeviceVar set !host_build:QMAKE_MAC_SDK "$VAL"

I'm not an expert on bash shell syntax, but I know that qtbase/mkspecs/qdevice.pri ends up having a line that looks like (if -sdk macosx10.8 is specified):

!host_build:QMAKE_MAC_SDK = macox10.8

The correct line should be:

QMAKE_MAC_SDK = macox10.8

and so line 1216 of qbase/configure should be:

  DeviceVar set QMAKE_MAC_SDK "$VAL"

I tried that and it works.

Can someone confirm that this is the correct change and put it in the pack.

That'd be swell ;)

Thanks!

-Eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140509/63e39707/attachment.html>


More information about the Interest mailing list