[Qt-creator] Build issues under OSX10.5

Victor Sardina Victor.Sardina at noaa.gov
Mon Jul 5 23:41:55 CEST 2010


Aurélien:

I haven't tried building qt-creator via xcode, but you don't really need
to use xcode to do so. You can simply create a build directory parallel
to the qt-creator source directory. Let's say you have the source under
"qt/qt-creator". Then cd up to qt and issue a "mkdir qtcreatorbuil"
command to create a new build directory. Then cd in their with "cd
qtcreatorbuild and issue a "qmake ../qt-creator/qtcreator.pro" command.

Then follow that with the usual "make" command. You can probably issue
"make -j3" if you have a dual core Mac, which usually speeds up the
building process quite a bit. At the end of the build the "bin"
directory should contain the "Qt Creator.app" application bundle that
you can copy wherever you intend to. This approach also leaves the
source tree clean. It also provides a much smaller bundle, as it uses
your Qt installation libraries. To do this you need Qt-4.7.0 installed.
Otherwise the build will fail.

Hope this helps,
Victor

On 7/5/10 7:29 AM, Aurélien Vallée wrote:
> Hello everyone,
> 
> I am having issues while trying to build qt-creator on OSX10.5:
> 
> - The default xcode spec does generate empty xcode projects.
> - The macx-g++ spec does generate a not-fully-linked bundle (core fails to
> link correctly)
> - Out of source build is not working due to some hardcoded relative links
> 
> Anyone encountered such kind of issues?
> 
> 
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-------------- next part --------------
A non-text attachment was scrubbed...
Name: victor_sardina.vcf
Type: text/x-vcard
Size: 577 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100705/8acde3f6/attachment.vcf 


More information about the Qt-creator-old mailing list