export QT_CONFIG instead of CONFIG to .pc files

users need access to the Qt configuration, not some internals of
module's build system.

Change-Id: Ife3f668282969d444282d57152c11ed0f741076f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
bb10
Oswald Buddenhagen 2013-02-04 12:10:13 +01:00 committed by The Qt Project
parent ab6d29a6cd
commit 6944c01200
1 changed files with 1 additions and 2 deletions

View File

@ -172,9 +172,8 @@ win32 {
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
# Provides useful info normally only contained in the internal .qmake.cache file
qt_conf.name = qt_config
qt_conf.variable = CONFIG
qt_conf.variable = QT_CONFIG
QMAKE_PKGCONFIG_VARIABLES += qt_conf
load(qt_targets)