[Qt-interest] QMAKEFEATURES environment vs property.

Gav Wood qt-interest at quidprocode.co.uk
Tue Jul 7 16:33:30 CEST 2009


Hello all,

If I have a project file Test.pro:
   QMAKEFEATURES = /tmp
   CONFIG += myfeature
   TEMPLATE = ...
   ...

with a features file /tmp/myfeature.prf:
   message(Found)

then executing:

   qmake Test.pro

gives no output, but executing:

   QMAKEFEATURES=/tmp qmake Test.pro

gives the wanted output (Project MESSAGE: Found).

According to the docs qmake should check both values (the environment
and the property), though it seems it does not. Could someone explain
why?

Cheers,

Gav.



More information about the Qt-interest-old mailing list