[Qt-interest] Building three separate applications using one .pro file
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Wed Apr 22 09:47:13 CEST 2009
Constantin Makshin wrote on Tuesday, April 21, 2009 11:51 PM:
> My guess is that "PRI" means "PRoject Include". But no matter what it
> means, .pri files aren't required by QMake, they just help you to
> better structurize your project files and make them cleaner (like .h
> files used by a .cpp one).
In fact, *.pri seems just to be some naming convention used in the Qt build system, but IMHO you could call your "include" files also *.foo, if you prefer, qmake doesn't really care, as long as the file exists. In other words, the following should work (did not try it though)
// in whatever.pro
include (common_settings.foo)
...
At least the http://doc.trolltech.com/4.5/qmake-function-reference.html#include-filename docs do not mention any naming (suffix) requirements, they just talk about "filename". And as long as that file exists qmake will include it.
But *.pro, as in "project", and *.pri, as in "project include" are not a bad choice, are they? ;)
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list