add possibility to install a module with no library
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 30 Mar 2012 12:11:59 +0000 (14:11 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 19 Jun 2012 14:40:02 +0000 (16:40 +0200)
the declarative module is a fake, so there is no library to install.

Change-Id: I0dcd39f3304e38adce9ea34e2268905525abd3d5
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
mkspecs/features/qt_installs.prf

index c2f7fa5..fc4bdb6 100644 (file)
@@ -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 {