Speeding up Visual C++ Qt Builds
March 27, 2009 by Jörg Bornemann | Comments
Poor, poor Visual C++ developer. You see these MinGW or Linux guys using GNU make on their fancy quad core machines to compile Qt. They are already hacking again while you still sip at your coffee, watching the distressing 25% CPU usage in the task manager. And just because nmake doesn't make use of all available processing power.
But good news, everyone! The misery is over. I've writte a nmake clone that can use an arbitrary number of processes concurrently. The thing is called
jom and the sources are here, a ZIP with the binary is available for download here.
To install jom, just extract the zip file to a directory which is in your PATH. Now, instead of calling
nmake to build Qt, call
jom. It automatically detects the number of processor cores in your PC by calling
You also can use the
-j command line argument to set the number of concurrent processes.
On a quad core machine with a Qt build takes half of the time it took using nmake. There's still room for improvement. Jom is aimed to be compatible with decent nmake Makefiles. Its not complete yet but hey, you can already speed up your Qt builds!
This project moved to gitorious! The source can now be found here:
Subscribe to our newsletter
Try Qt 6.4 Now!
Download the latest release here: www.qt.io/download.
Qt 6 is the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don't want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu