Install Qt on a Mac with Xcode or QtCreatorDate de publication : 07 february 2009 , Date de mise à jour : 13 february 2009
IV. Your first compilation with Xcode
IV. Your first compilation with Xcode
The source file is identical to the one in the previous chapter.
We'll start from III-B and enter the following commands :
qmake -project to create the project file (by dfault 01_test.pro)
qmake -spec macx-xcode to create Xcode project file (01_test.xcodeproj)
Then we launch Xcode project file and .. tada ! :
 Qt's integration to Xcode, automplete works
 |
The integration is not perfect, the project file is not automatically handled so, when you'll add files to the project, you'll have to regenerate the .pro file.
Anyway, sooner or later you'll have to manually edit the .pro file, so it's better to get used to that. However, you can still add an external target and specify the use of qmake with "Custom build command" and changing target dependencies.
This tutorial will be updated asap with this trick.
|
Click "Build and Go" and that's it !
Les sources présentés sur cette page sont libres de droits,
et vous pouvez les utiliser à votre convenance. Par contre cette page de présentation de ces sources constitue une oeuvre intellectuelle protégée par les droits d'auteurs. Copyright ©2009 Michel LIBERADO.
Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu :
textes, documents, images, etc sans l'autorisation expresse de l'auteur. Sinon vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts.
Cette page est déposée à la SACD.
|