summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2010-12-23 11:43:41 +1000
committerAlex <qt-info@nokia.com>2010-12-23 11:43:41 +1000
commitbf30f9f2eae8bba2376c2d5579dbef408de6afb2 (patch)
treefdc25bfe89c427136efcbdda66ebd12faafa6342 /features
parent914cd450ffab8aa91d25a743cdf5c17bcede18ee (diff)
fix pkgconfig generation once and for all
Diffstat (limited to 'features')
-rw-r--r--features/deploy.pri14
1 files changed, 14 insertions, 0 deletions
diff --git a/features/deploy.pri b/features/deploy.pri
index 39ea7660e8..29b722b032 100644
--- a/features/deploy.pri
+++ b/features/deploy.pri
@@ -3,6 +3,20 @@ headers.path = $$QT_MOBILITY_INCLUDE/$$TARGET
contains(TEMPLATE,.*lib) {
target.path=$$QT_MOBILITY_LIB
+
+ maemo5|maemo6|meego {
+ CONFIG += create_pc create_prl
+ QMAKE_PKGCONFIG_NAME = lib$$TARGET
+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig
+ QMAKE_PKGCONFIG_LIBDIR = $$target.path
+ QMAKE_PKGCONFIG_INCDIR = $$headers.path
+ QMAKE_PKGCONFIG_CFLAGS = -I$${QT_MOBILITY_INCLUDE}/QtMobility
+ pkgconfig.path = $$QT_MOBILITY_LIB/pkgconfig
+ pkgconfig.files = $$TARGET.pc
+
+ INSTALLS += pkgconfig
+ }
+
TARGET = $$qtLibraryTarget($${TARGET}$${QT_LIBINFIX})
symbian {