[Qt-interest] QMake ignores .prf file in project's root dir
Benjamin Kircher
benjamin.kircher at gmail.com
Tue Aug 11 17:30:57 CEST 2009
Hello folks,
The documentation at [1] says that it looks for a feature-file in the
project's root dir. I have a foo.prf in my project's root dir and added foo
to my CONFIG variable like
CONFIG += debug_and_release build_all warn_on foo
However, qmake doesn't read this file. Running
qmake -d -d -spec $(QTDIR)\mkspecs\win32-msvc2005 -tp vc 2>&1 | tee
reveals that qmake doesn't look in the project's root directory:
DEBUG 2: Looking for feature 'foo.prf' in
(::$(QTDIR)\mkspecs\win32-msvc2005\features::C:\Qt\mkspecs\features\win32::C:\Qt\mkspecs\features::C:\Qt\mkspecs\features\win32::C:\Qt\mkspecs\features)
Am I doing something wrong? Is there another way to include my .prf file?
[1]
http://doc.trolltech.com/4.5/qmake-advanced-usage.html#adding-new-configuration-features
Thanks in advance
Benjamin Kircher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090811/de663594/attachment.html
More information about the Qt-interest-old
mailing list