Hi,

is it possible to tell Qt in the *.pro file that the Makefile should be in another directoy in a way that the QtCreator can build the project?

At moment I have the following setting in my pro-file:
Qt Code:
  1. QMAKE_MAKEFILE = $${PRJ_BUILD}Makefile
  2. message(QMAKE_MAKEFILE=$$QMAKE_MAKEFILE)
To copy to clipboard, switch view to plain text mode 
PRJ_BUILD is the path where the Makefile should be.

QMake already runs in QtCreator without any problem, but if I want to build then, make tells me, that it can not find the Makefile.
I think this is related to the variable OUT_PWD, but changing the variable will not work. Is this a readonly variable?
Can I change the QtProjectSettings of QtCreator for make in a pro-file?

Did I overseen anything?

The background is, that I use "Pro C" and the generated C-File, should not be in my sources, so I have to locate the Makefile in a different directory called "build"!

I have already seen the old thread of 2009, but there is no solution for me...

Thanks
Andreas