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 should put all things that are shared in the entire tree in a file > called .qmake.conf at the top level.
That doesn't work in Qt 4. For Qt 4, the file has to be called .qmake.cache and it must be in the destination (build) dir. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest