Setting default make options for Qt Creator?

daisy picture daisy · Jan 14, 2012 · Viewed 19.4k times · Source

How can i override default make parameters , which is:

make -w

Each time i create a project , i had to modify project settings , adding -j4 to make parameters.

Can i set make -w -j4 by default ?

EDIT

The best way to do this is setting MAKEFLAGS environment variable , i'm picking the only answer as the best only to shut this thread down.

To set this for UNIX, modify the *.desktop file of Qt Creator , prefix the line entitled Exec= with env MAKEFLAGS=-j4 , but be aware that you won't be able to cease building in QtCreator immediately after setting to multithread.

Answer

dimril picture dimril · Mar 17, 2016

To make it global and permanent go to

Tools > Options > Build & Run > Kits > (pick your toolchain) 

and fill your predefined env settings: MAKEFLAGS=-j4

Screenshot what to click exactly