If you call qmake of the prebuilt binaries of Qt, it produces XCode project files (xxx.xcodeproject) instead of make files. You can create regular make files with this commands:

  1. rm -rf hello.xcodeporj
  2. rm Info.plist
  3.  
  4. qmake -spec macx-g++

If you want to create make files per default, you can tell qmake by executing the following commands

  1. cd $QTDIR/mkspecs
  2. rm default
  3.  
  4. ln -s macx-g++ default

$QTDIR is the directory of your Qt installation (e.g. /usr/local/Trolltech/Qt-4.7.0).

Categories: