summaryrefslogtreecommitdiffstats
path: root/qmake/option.h
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-08-18 23:03:51 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-08-26 21:26:59 (GMT)
commit53794d94994cb3149581b1a91762dfa2d6defac0 (patch)
tree4cbc0c7af284cc37e6c68fa3d99887681ecf81e6 /qmake/option.h
parentfe2da7c82f52e16b87569fe8ef3561014bc8c854 (diff)
downloadQt-53794d94994cb3149581b1a91762dfa2d6defac0.zip
Qt-53794d94994cb3149581b1a91762dfa2d6defac0.tar.gz
Qt-53794d94994cb3149581b1a91762dfa2d6defac0.tar.bz2
Do not unconditionally use pkg-config in .pro files
Using the first pkg-config in PATH is prone to errors when cross compiling. This is a known issue, and `configure' already avoids using pkg-config for cross compiling (unless -force-pkg-config is used). However, there was previously no way for a .pro file to test whether or not the user had passed -force-pkg-config. Let !contains(QT_CONFIG, no-pkg-config) be used to test whether or not it is safe to run pkg-config.
Diffstat (limited to 'qmake/option.h')
0 files changed, 0 insertions, 0 deletions