From d5faa7a0286a4679f9e4b1594813c750e8580496 Mon Sep 17 00:00:00 2001 From: kh1 Date: Mon, 21 Jan 2013 12:46:54 +0100 Subject: Build 7z static to suppress warnings inside there. Change-Id: Idcfec77f911f97358f8930c8f0d95fa1724daaeb Reviewed-by: Niels Weber Reviewed-by: Tim Jenssen --- installerfw.pri | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'installerfw.pri') diff --git a/installerfw.pri b/installerfw.pri index 5ca3f144e..97fd94e1b 100644 --- a/installerfw.pri +++ b/installerfw.pri @@ -68,9 +68,10 @@ CONFIG += depend_includepath GIT_SHA1 = $$system(git rev-list --abbrev-commit -n1 HEAD) DEFINES += QT_NO_CAST_FROM_ASCII "_GIT_SHA1_=$$GIT_SHA1" - static { + equals(TEMPLATE, app):LIBS += -l7z + macx:equals(TEMPLATE, app):CONFIG -= app_bundle + win32:exists($$IFW_LIB_PATH/installer.lib):POST_TARGETDEPS += $$IFW_LIB_PATH/installer.lib unix:exists($$IFW_LIB_PATH/libinstaller.a):POST_TARGETDEPS += $$IFW_LIB_PATH/libinstaller.a - macx:equals(TEMPLATE, app):CONFIG -= app_bundle } -- cgit v1.2.3