From bf0c6b764cd79301226f481dc8bc98c4d85995fe Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Wed, 17 Dec 2014 16:06:42 +0530 Subject: fix detection of ICU when configuring for Windows When linking to the static ICU libraries, you need to link to advapi32.lib. This is not required in qtbase because the library is automatically added to QMAKE_LIBS_CORE, so we do the same here. Change-Id: I6d548790de4feae4b1d05ff27fb814e933f71839 Reviewed-by: Allan Sandfeld Jensen --- Tools/qmake/config.tests/icu/icu.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/qmake/config.tests/icu/icu.pro b/Tools/qmake/config.tests/icu/icu.pro index 0486c531a..ce3780a33 100644 --- a/Tools/qmake/config.tests/icu/icu.pro +++ b/Tools/qmake/config.tests/icu/icu.pro @@ -4,6 +4,7 @@ CONFIG -= qt dylib win32 { CONFIG(static, static|shared) { + LIBS += $$QMAKE_LIBS_CORE CONFIG(debug, debug|release) { LIBS += -lsicuind -lsicuucd -lsicudtd } else { -- cgit v1.2.3