Build issues (Qt SDK version 1.1.3 | mac os x 10.6.8 | Xcode 4.0.2)
-
Hey all, I 've added the Qt binaries to my path and @qmake -query@ outputs
QT_INSTALL_PREFIX:/Developer/Desktop/Qt/474/gcc
QT_INSTALL_DATA:/Developer/Desktop/Qt/474/gcc/
QT_INSTALL_DOCS:/Developer/Desktop/Qt/474/gcc/doc
QT_INSTALL_HEADERS:/Developer/Desktop/Qt/474/gcc/include
QT_INSTALL_LIBS:/Developer/Desktop/Qt/474/gcc/lib
QT_INSTALL_BINS:/Developer/Desktop/Qt/474/gcc/bin
QT_INSTALL_PLUGINS:/Developer/Desktop/Qt/474/gcc/plugins
QT_INSTALL_IMPORTS:/Developer/Desktop/Qt/474/gcc/imports
QT_INSTALL_TRANSLATIONS:/Developer/Desktop/Qt/474/gcc/translations
QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt
QT_INSTALL_EXAMPLES:/Developer/Examples/4.7
QT_INSTALL_DEMOS:/Developer/Demos/4.7
QMAKE_MKSPECS:/Developer/Desktop/Qt/474/gcc//mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.4in a hello directory consisting of the typical hello.cpp and hello.pro i go with
@qmake -spec macx-g++@
and the little gui (hello.app) builds fine, whereas with
@qmake -spec macx-xcode@
i get a hello.pbproj and the related plist without any Xcode directory.
What is wrong with Xcode 4.0? I am forwarding this message to an apple dev list..I 've also installed Qt via macports, same old..
thanks for any hintsN
-
Qt does not contain support for XCode 4 yet. Digia is working on this, for the time being you'll have to use XCode 3 or the makefiles.
-
good to know Volker, thanks for all the feedback!
-
A merge request for XCode 4 support has been started. See the "other thread on XCode 4 support":http://developer.qt.nokia.com/forums/viewthread/9698/ for details.