[Qt-interest] Get parent directory when including .pro files
Lars Amsel
lars.amsel at signalion.com
Mon Sep 7 12:47:18 CEST 2009
Jeroen,
Jeroen Wijnhout wrote:
> What I always did is to create a Config.pri (qmake include file) file
> containing the test. This file can then be included into you .pro
> files using
> include("/path/to/Config.pri")
OK. But the Config.pri has to check for a file that is part of the project
from the .pro. The .pro and the .res reside in the same directory. The .pri
resides in a different directory. The question is, how do I get the directory
of .pro in .pri?
regards
Lars
More information about the Qt-interest-old
mailing list