PDA

View Full Version : Passing -j option to make from qmake



ghm
14th June 2011, 09:01
Hi.

Is there a way to pass the -j option to make from the .pro-file?

I've tried using QMAKE_CXXFLAGS, but I'm not sure if this is the way to go.

wysota
14th June 2011, 09:52
You can set an env variable (not a qmake variable!) called MAKEOPTS to -j

ghm
14th June 2011, 10:35
Thank you for your reply.

Will this work on windows as well?

wysota
14th June 2011, 12:39
I don't see why it wouldn't.