On Tuesday 02 September 2014 07:20:36 Bo Thorsen wrote:
Den 01-09-2014 17:42, Igor Mironchik skrev:
Hi,
how to define macro in “parent” .pro file that it will take effect for
all sub-projects?
DEFINES += SOME_MACRO
in “parent” .pro file does not take effect for sub-projects...
You
Hi,
how to define macro in “parent” .pro file that it will take effect for all
sub-projects?
DEFINES += SOME_MACRO
in “parent” .pro file does not take effect for sub-projects...
Thanks.___
Interest mailing list
Interest@qt-project.org
On Monday 01 September 2014 18:42:28 Igor Mironchik wrote:
Hi,
how to define macro in “parent” .pro file that it will take effect for all
sub-projects?
DEFINES += SOME_MACRO
in “parent” .pro file does not take effect for sub-projects...
There's no supported feature for this. Qt has a
On 09/02/2014 12:05 AM, Thiago Macieira wrote:
The only way to do this is to include() a file in each .pro file.
That's what I do for my sub-projects. You can define the macros (or
other Qmake stuff) in pri (or even pro files) files and include them in
the sub-projects' pro files.
It works
Den 01-09-2014 17:42, Igor Mironchik skrev:
Hi,
how to define macro in “parent” .pro file that it will take effect for
all sub-projects?
DEFINES += SOME_MACRO
in “parent” .pro file does not take effect for sub-projects...
You should put all things that are shared in the entire tree in a file