[Qt] Build fix for windows when QTDIR contains release libraries.
authorjocelyn.turcotte@nokia.com <jocelyn.turcotte@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jan 2010 11:51:37 +0000 (11:51 +0000)
committerjocelyn.turcotte@nokia.com <jocelyn.turcotte@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jan 2010 11:51:37 +0000 (11:51 +0000)
Unreviewed build fix

* WebKit.pri: Use the <name>.lib syntax for linking instead of qmake's -l<name> emulation

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
WebKit.pri

index d67af57..f469d47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-01-27  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
+
+        Unreviewed build fix
+
+        [Qt] Build fix for windows when QTDIR contains release libraries.
+
+        * WebKit.pri: Use the <name>.lib syntax for linking instead of qmake's -l<name> emulation
+
 2010-01-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>
 
         Reviewed by Simon Hausmann.
index fc3a951..95f140c 100644 (file)
@@ -33,7 +33,9 @@ building-libs {
             QMAKE_FRAMEWORKPATH = $$OUTPUT_DIR/lib $$QMAKE_FRAMEWORKPATH
         } else {
             win32-*|wince* {
-                LIBS += -lQtWebKit$${QT_MAJOR_VERSION}
+                QTWEBKITLIBNAME = QtWebKit$${QT_MAJOR_VERSION}
+                win32-g++: LIBS += -l$$QTWEBKITLIBNAME
+                else: LIBS += $${QTWEBKITLIBNAME}.lib
             } else {
                 LIBS += -lQtWebKit
                 symbian {