[Qt-creator] speed up Build process
Thorbjørn Lindeijer
thorbjorn.lindeijer at nokia.com
Mon Jan 12 11:53:29 CET 2009
ext Zine eddine Bendjaballah wrote:
> Can you tell me more about how to configure MAKEARGS environment, and
> how it can make build process faster?
It's actually called MAKEFLAGS, and it's an environment variable you can
set for make (at least gnu make). It contains additional parameters you
want to pass to the make command. If you set it to '-j3', this will tell
make to run up to three jobs at once.
Please note that this will only help you when your CPU has multiple
cores (or when you have multiple CPUs, or when you use a build farm). If
this is not the case, you can forget about it.
As André pointed out, it is hard to compare compile, link and run time
of Qt/C++ applications against Delphi. It also doesn't really relate to
Qt Creator, so I'll safe myself the attempt. :)
Note that we ship Qt Creator on Windows with MinGW, which isn't the
fastest compiler in the world. If possible, you can try with Microsoft's
compiler that comes with Visual Studio (I believe there is also a free
version available). You'd need to download a Qt compiled with VS and
configure Qt Creator to use that Qt version. I don't know how much
faster it is though. Also note that debugging isn't supported yet for
this compiler.
Regards,
Bjørn
--
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software
More information about the Qt-creator-old
mailing list