summaryrefslogtreecommitdiffstats
path: root/src/qbase.pri
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-01-10 15:41:57 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-01-10 15:41:57 (GMT)
commit45fe2dddc3a0677b9ec9fce09f07cd4129e37afa (patch)
treec417cfa263ab9a2e33576a68c8c900adba94dd37 /src/qbase.pri
parentf18aca79a233c71f7a4bc72c9e31de948ba43c31 (diff)
downloadQt-45fe2dddc3a0677b9ec9fce09f07cd4129e37afa.zip
Qt-45fe2dddc3a0677b9ec9fce09f07cd4129e37afa.tar.gz
Qt-45fe2dddc3a0677b9ec9fce09f07cd4129e37afa.tar.bz2
qt project files: create pkg-config files for mingw
This is mostly the same as for unix. Merge-request: 2543 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/qbase.pri')
-rw-r--r--src/qbase.pri8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qbase.pri b/src/qbase.pri
index d3fa426..4d835bd 100644
--- a/src/qbase.pri
+++ b/src/qbase.pri
@@ -151,6 +151,14 @@ unix:!symbian {
QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace prefix_replace
}
+win32-g++* {
+ CONFIG += create_pc
+ QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
+ QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
+ QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS]
+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig
+}
+
contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
DEFINES *= QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS
contains(QT_CONFIG, qt3support):DEFINES *= QT3_SUPPORT