Install Qt on a Mac with Xcode or QtCreator
Date de publication : 07 february 2009 , Date de mise à jour : 13 february 2009
I. Installing Xcode and compilation tools
I-A. Information
I-B. Installing Xcode
I. Installing Xcode and compilation tools
I-A. Information
In order to use Qt and compile your sources, you must install a compiler first.
If you don't, you can still use Qt, but obviously the make command won't be available as an internal command.
Qt's documentation deals with that :
 |
On Mac OS X, the binary package requires Mac OS X 10.4.x (Tiger)
or later and GCC 4.0.1 to develop applications. Its applications
will run on Mac OS X 10.3.9 and above.
|
Installing Xcode can be done from the Mac OS X DVD that comes with your Mac. It's is also available as a free download from Apple's website.
The version used for this tutorial is 3.2.1 which can found at this url (about 1 Go) :
Download last Xcode version on Apple's website
I-B. Installing Xcode
Mount the given disk image (name : Xcode312_2621_developerdvd.dmg).
Double click on XcodeTool.mpkg and follow the instructions.
You should then have almost the same screenshots :
 |
The installation should last about 5 minutes.
|

Disk image content

Xcode installation : introduction

Xcode installation : license

Xcode installation : Installation type

Xcode installation : writing files

Xcode installation : end
The default directory where files are written is /Developer.
No need to restart, you can go to the next step : Installing Qt 4.4.3


Les sources présentées sur cette page sont libres de droits
et vous pouvez les utiliser à votre convenance. Par contre, la page de présentation
constitue une œuvre intellectuelle protégée par les droits d'auteur. Copyright ©
2009 Michel LIBERADO. Aucune reproduction, même partielle, ne peut être
faite de ce site ni de l'ensemble de son contenu : textes, documents, images, etc.
sans l'autorisation expresse de l'auteur. Sinon vous encourez selon la loi jusqu'à
trois ans de prison et jusqu'à 300 000 € de dommages et intérêts.