timmu
10th August 2012, 15:22
I have statically compiled Qt latest version on MacOS 10.6.8. The Xcode version is 4.2. Upgrading Xcode to 4.4 does not work since this for MacOS 10.7.
I cannot compile my programs and I think it is the Xcode that is the problem since qmake works fine.
When I do
qmake -project
qmake
make
I get this
>>g++ -c -pipe -g -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
>>-Wall
>>-W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>>-I/usr/local/Trolltech/Qt-4.7.2/mkspecs/macx-g++ -I.
>>-I/usr/local/Trolltech/Qt-4.7.2/lib/QtCore.framework/Versions/4/Headers
>>-I/usr/local/Trolltech/Qt-4.7.2/include/QtCore
>>-I/usr/local/Trolltech/Qt-4.7.2/lib/QtGui.framework/Versions/4/Headers
>>-I/usr/local/Trolltech/Qt-4.7.2/include/QtGui
>>-I/usr/local/Trolltech/Qt-4.7.2/include -I. -I.
>>-F/usr/local/Trolltech/Qt-4.7.2/lib -o main.o main.cpp
>>g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64
>>-mmacosx-version-min=10.5 -o permucorr.app/Contents/MacOS/permucorr
>>main.o
>>-F/usr/local/Trolltech/Qt-4.7.2/lib -L/usr/local/Trolltech/Qt-4.7.2/lib
>>-framework QtGui -L/usr/local/Trolltech/Qt-4.7.2/lib
>>-F/usr/local/Trolltech/Qt-4.7.2/lib -framework QtCore
What could be happening? Is "make" the one to use with Mac? Is it possible I have some Xcode conflict somewhere.
I cannot compile my programs and I think it is the Xcode that is the problem since qmake works fine.
When I do
qmake -project
qmake
make
I get this
>>g++ -c -pipe -g -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
>>-Wall
>>-W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>>-I/usr/local/Trolltech/Qt-4.7.2/mkspecs/macx-g++ -I.
>>-I/usr/local/Trolltech/Qt-4.7.2/lib/QtCore.framework/Versions/4/Headers
>>-I/usr/local/Trolltech/Qt-4.7.2/include/QtCore
>>-I/usr/local/Trolltech/Qt-4.7.2/lib/QtGui.framework/Versions/4/Headers
>>-I/usr/local/Trolltech/Qt-4.7.2/include/QtGui
>>-I/usr/local/Trolltech/Qt-4.7.2/include -I. -I.
>>-F/usr/local/Trolltech/Qt-4.7.2/lib -o main.o main.cpp
>>g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64
>>-mmacosx-version-min=10.5 -o permucorr.app/Contents/MacOS/permucorr
>>main.o
>>-F/usr/local/Trolltech/Qt-4.7.2/lib -L/usr/local/Trolltech/Qt-4.7.2/lib
>>-framework QtGui -L/usr/local/Trolltech/Qt-4.7.2/lib
>>-F/usr/local/Trolltech/Qt-4.7.2/lib -framework QtCore
What could be happening? Is "make" the one to use with Mac? Is it possible I have some Xcode conflict somewhere.