[Qt-creator] speed up Build process
Piotr Rak
piotr.rak at gmail.com
Sat Jan 10 00:37:44 CET 2009
Hi,
2009/1/9 Zine eddine Bendjaballah <zineeddine.b at hotmail.com>:
> Hi,
>
> 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. 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? 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.
Piotr
More information about the Qt-creator-old
mailing list