From e7b9600103625145bd21cc4cb7bea1fb92b990a1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 30 Mar 2012 14:11:59 +0200 Subject: 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 --- mkspecs/features/qt_installs.prf | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'mkspecs/features/qt_installs.prf') 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 { -- cgit v1.2.3