summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-03-30 14:11:59 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-19 16:40:02 +0200
commite7b9600103625145bd21cc4cb7bea1fb92b990a1 (patch)
tree1ebe9d39b9039dd5c006c17b1716e9a5196721c6 /mkspecs
parentc23767bab99fb0439d0f3d8822cfbbb7f52498e9 (diff)
add possibility to install a module with no library
the declarative module is a fake, so there is no library to install. Change-Id: I0dcd39f3304e38adce9ea34e2268905525abd3d5 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_installs.prf14
1 files changed, 8 insertions, 6 deletions
diff --git a/mkspecs/features/qt_installs.prf b/mkspecs/features/qt_installs.prf
index c2f7fa501f..fc4bdb6736 100644
--- a/mkspecs/features/qt_installs.prf
+++ b/mkspecs/features/qt_installs.prf
@@ -1,10 +1,12 @@
-#always install the library
-win32 {
- dlltarget.path=$$[QT_INSTALL_BINS]
- INSTALLS += dlltarget
+#library
+!qt_no_install_library {
+ win32 {
+ dlltarget.path = $$[QT_INSTALL_BINS]
+ INSTALLS += dlltarget
+ }
+ target.path = $$[QT_INSTALL_LIBS]
+ INSTALLS += target
}
-target.path=$$[QT_INSTALL_LIBS]
-INSTALLS += target
#headers
qt_install_headers {