Re: [Interest] How to define something for all sub-projects?

2014-09-02 Thread Thiago Macieira
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

[Interest] How to define something for all sub-projects?

2014-09-01 Thread Igor Mironchik
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

Re: [Interest] How to define something for all sub-projects?

2014-09-01 Thread Thiago Macieira
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

Re: [Interest] How to define something for all sub-projects?

2014-09-01 Thread Syam Krishnan
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

Re: [Interest] How to define something for all sub-projects?

2014-09-01 Thread Bo Thorsen
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