[Qt-creator] Build issues under OSX10.5

eike.ziller at nokia.com eike.ziller at nokia.com
Tue Jul 6 10:55:05 CEST 2010


On Jul 6, 2010, at 10:36 AM, ext Aurélien Vallée wrote:

> I already tried all these steps.
> Using Qt creator does not change anything, it just basically call qmake/make or qmake/xcodebuild.
> 
> Here is what I'm doing:
> 
> ### Using g++
> git clone QTCREATORGITURL
> cd qt-creator
> mkdir build; cd build
> qmake ..\qt-creator.pro -recursive -spec macx-g++
> # Here I got tons of errors that qmake can't find "../../../whatever_project_debug"
> make
> # make successfull but bundle won't execute.Qt error, core is not a valid Qt plugin
> 
> ### Using g++
> git clone QTCREATORGITURL
> cd qt-creator
> mkdir build; cd build
> qmake ..\qt-creator.pro -recursive -spec macx-xcode
> # Here I got tons of errors that qmake can't find "../../../whatever_project_debug"
> xcodebuild
> # error, project qt-creator has no targets

Hej,
I've no idea about the xcode part, it might very well be that what we do in the Qt Creator pro files doesn't easily translate into xcode projects.

Regarding macx-g++
Don't use a build directory that is a sub directory of your sources. QMake fails to handle that correctly. Put the build directory parallel to the source directory instead.

qt-creator-2.0-src/
qt-creator-2.0-build/

and 
cd qt-creator-2.0-build
qmake ../qt-creator-2.0-src -r -spec macx-g++

Best regards, Eike

> On Tue, Jul 6, 2010 at 10:22 AM, <eike.ziller at nokia.com> wrote:
> 
> On Jul 5, 2010, at 11:41 PM, ext Victor Sardina wrote:
> 
> > 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.
> 
> Or:
> 1) Download a binary version of Qt Creator
> 2) Start Qt Creator and point it to your Qt 4.7 build
> 3) Open qtcreator.pro in Qt Creator and let it use Qt 4.7
> 3) Press build and run
> 
> :-)
> 
> Br,
> Eike
> 
> >
> > 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
> >
> > <victor_sardina.vcf><ATT00001..txt>
> 
> --
> Eike Ziller
> Software Engineer
> Nokia, Qt Development Frameworks
> 
> Nokia gate5 GmbH
> Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
> Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
> Umsatzsteueridentifikationsnummer: DE 812 845 193
> Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
> 
> 
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> 
> 
> -- 
> Aurélien Vallée
> +33 6 47 41 70 37
> <ATT00001..txt>

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori







More information about the Qt-creator-old mailing list