c++11 - MAKEFLAGS in Qt Creator via .pro project file -


the pc i'm using has 4 cores wanna use them while compiling, passing -j4 option compiler. in qt creator adding environment variable in build environment panel, shown in images:

makeflags = -j4 

enter image description here

enter image description here

the problem setting doesn't persist across projects in pc i'm using, cool. have each project @ least once. think stored in .pro.user file, since every time .pro.user gets deleted makeflags = -j4 desapears build environment panel.

isn't possible add setting via .pro project file?

i'm interested in approach allow me escape necessity of setting stuff multiple times.

to give little context, i'm on windows.

you're looking shared project settings in .pro.shared file. designed have in mind.

adding setting .pro file wrong, since file meant portable , not tied particular build host.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -