I'm not sure if there's an option to do it in the .pro but if you open the projects tab in QtCreator you can pass extra options to make. I always pass -j 8 on my quad-core machine and it works just fine.
On Thursday, October 22, 2015, Cristian Adam <[email protected]> wrote: > > On Oct 22, 2015 19:16, "Jason H" <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > > > > In this world, where both phones and computers are averaging 4 cores (or > more) does it make sense to ever not default make to 1 thread? I can > understand that some situations can't have multi-threaded builds, but I > believe they are in the minority now. I find that a good value for -j is > N*2 where N is the number of cores (since there is a lot of i/o delay from > loading all the headers) > > > > It would be nice if this was populated from the get-go. I believe it's > stored in the .user file? Is there a way to set it in the .pro file? I work > in iOS/Android/Desktop, so it's kinda silly to have to set this 6 times > (debug/release) in the same project! > > > > If you are using CMake you can switch to ninja instead of make. > > Ninja automatically uses all of your machine's computing power. > > Cheers, > Cristian. > -- Sent from Gmail Mobile
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
