[Interest] [OS X] qmake -spec macx-clang-32 on a 64bit system

Adam Light aclight at gmail.com
Tue Mar 10 14:34:55 CET 2015


On Tue, Mar 10, 2015 at 6:29 AM, René J.V. <rjvbertin at gmail.com> wrote:

> Hello,
>
> I am getting strange behaviour from qmake, trying to generate a 32bit
> build with it on a 64bit system. qmake in fact seems to ignore the -spec
> argument (as long as it's not in error, that is). I get exactly the same
> Makefile even when I tell qmake to use linux-g++, for instance ...
> And this time I can rule out any interference from the MacPorts runtime:
>
> %> ( cd
> qt5dsql3-mp9-work/qt-everywhere-opensource-src-5.4.1-i386/qtbase/src/plugins/sqldrivers/sqlite
> ; /opt/local/libexec/qt5/bin/qmake -r PREFIX=/opt/local
> QMAKE_MACOSX_DEPLOYMENT_TARGET=10.9 CONFIG+=release
> INCLUDEPATH+=/opt/local/include LIBS+="-L/opt/local/lib -lsqlite3" -spec
> macx-clang-32 )
>

I'm not sure if this matters, but before I execute configure, I always
execute the following commands:

cd /qtbuild5/build/mac32
rm -rf *
rm .qmake.*

I do this for both 32 and 64 bit builds.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150310/fd19a913/attachment.html>


More information about the Interest mailing list