[Qt] Problem building qt4pas-V2.4_Qt4.5.3
Matthias Klumpp
matthias at tenstral.net
Sat Oct 8 00:01:00 CEST 2011
Just a quick-and-dirty fix so you can continue: Remove the
"-mstackrealign" lines in qt4pas.pro, so the GCC parameter is not
added.
But for more detailed info and a better fix, you should ask Jan :)
(Maybe there is just an ifelse for MacOS missing)
2011/10/7 Laurent Rathle <lrathle at madonie.org>:
>
> Hello,
>
> I'm tring to build qt4pas-V2.4_Qt4.5.3 on a Macbook Pro / Mac Os 10.7.2 / Xcode 4.1 / gcc 4.2. I've launched qmake which resulted in a Makefile, then make, and the build fails with this error message :
>
> make
> g++ -c -pipe -mstackrealign -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -w -fPIC -DDARWIN -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../QtSDK/Desktop/Qt/473/gcc/mkspecs/default -I. -I../../../QtSDK/Desktop/Qt/473/gcc/lib/QtCore.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/473/gcc/include/QtCore -I../../../QtSDK/Desktop/Qt/473/gcc/lib/QtNetwork.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/473/gcc/include/QtNetwork -I../../../QtSDK/Desktop/Qt/473/gcc/lib/QtGui.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/473/gcc/include/QtGui -I../../../QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/473/gcc/include/QtWebKit -I../../../QtSDK/Desktop/Qt/473/gcc/include -Itmp -F/Users/laurent/QtSDK/Desktop/Qt/473/gcc/lib -o tmp/qt4pas.o src/qt4pas.cpp
> src/qt4pas.cpp:1: error: -mstackrealign not supported in the 64bit mode
> make: *** [tmp/qt4pas.o] Error 1
>
> Any one can help me, please ? The goal is to use Lazarus 0.9.30.2RC1 with qt widgets.
>
> Thank you
> _______________________________________________
> Qt mailing list
> Qt at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/qt
>
More information about the Qt
mailing list