[Qt-creator] speed up Build process
Zine eddine Bendjaballah
zineeddine.b at hotmail.com
Sat Jan 10 10:02:03 CET 2009
Hi,
I'm running windows xp OS.
> Date: Sat, 10 Jan 2009 02:41:55 +0100
> From: andre.poenitz at mathematik.tu-chemnitz.de
> To: qt-creator at trolltech.com
> Subject: Re: [Qt-creator] speed up Build process
>
> On Sat, Jan 10, 2009 at 12:37:44AM +0100, Piotr Rak wrote:
> > 2009/1/9 Zine eddine Bendjaballah <zineeddine.b at hotmail.com>:
> > > I'm new with qt, I'm using qt creator since recently. It takes more time to
> > > build and run a program.
> > > And when I run in debug mode,the running time takes several seconds.
> > >
> > > I'm used to RAD environment, like Delphi, and the time to compile and run a
> > > program is insignificant.
> > >
> > > Is it proper to Qt programs, or is there some configurations to do to
> > > accelerate the build and debug process.
> >
> > I assume below, that you run linux, or atleast use gnu toolchain.
>
> Unlikely, as he mentions Delphi ;-}
>
> Of course, trying to make comparisions is hard in this case.
>
> > If it is not case, I really don't know how to help you. Maybe someone
> > else knows.
> >
> > To compile faster, you might try setting up ccache (http://ccache.samba.org/).
> > Also adding -jN argument to 'make' command might help, where N usually
> > is number of your processor cores +1, like -j3 for dual core. Hmm,
> > maybe Qt-creator could do something like this out of box?
>
> This has been discussed a while ago, and I still don't think it's
> a good idea. People using build farms want more than that, and there
> are several possible solution outside Qt Creator like using the
> MAKEARGS environment variable.
>
Can you tell me more about how to configure MAKEARGS environment, and how it can make build process faster?
> > About startup time of your code, well...
> > maybe checkout http://en.wikipedia.org/wiki/Prelinking, I never tried
> > that for development though. For debugging you could use striped from
> > debugging symbols versions of some libraries (those you know you don't
> > really need/want to debug). Please check 'man strip' for more info.
>
> Almost all of the debugger startup time is indeed due to the loading
> of debug symbols.
>
> Regards,
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
Regards,
Zinou.
_________________________________________________________________
Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !
http://spaces.live.com/signup.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090110/05699799/attachment.html
More information about the Qt-creator-old
mailing list