[Qt-interest] qmake doubt
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Wed Jun 2 09:55:35 CEST 2010
Hi All,
I'm creating a pro file for my top-level project. This top level QT
project has only other sub-projects under it. I want to define some
qmake variables in the top-level project which will be accessed in pro
file of the sub-projects.
Whats the best way to accomplish this?
I have tried creating a pri file in the top-level project dir and then
included this file in the sub-project's pro file. But this does not
work, as in the sub-project files do not see these variables.
Also, it's unclear to me as to what goes into a .pri file? Is there
some documentation which explains it's use (I've currently searched QT
Creator's help but could not find much inof there).
Thanks,
-mandeep
More information about the Qt-interest-old
mailing list