October 7, 2011

nyotis nyotis
Lab Rat
26 posts

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

  1. 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.4

in a hello directory consisting of the typical hello.cpp and hello.pro i go with

  1. qmake -spec macx-g++

and the little gui (hello.app) builds fine, whereas with

  1. 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 hints

N

3 replies

October 7, 2011

Volker Volker
Ant Farmer
5428 posts

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.

October 7, 2011

nyotis nyotis
Lab Rat
26 posts

good to know Volker, thanks for all the feedback!

October 7, 2011

Volker Volker
Ant Farmer
5428 posts

A merge request for XCode 4 support has been started. See the other thread on XCode 4 support [developer.qt.nokia.com] for details.

 
  ‹‹ Qt 4.7.4 in Visual Studio 2005      [Solved] Qt5 on linux arm - xcb platform plugin not working ››

You must log in to post a reply. Not a member yet? Register here!