Fix the build: WebKitQt is now called QtWebKit
[WebKit-https.git] / JavaScriptCore / kjs / testkjs.pro
index 59081c197e2b76ca570922be52bd1d9b1c44c08d..a2501e88ce447a9e2ba533095ff45d9aa37a0f9c 100644 (file)
@@ -6,7 +6,11 @@ QT -= gui
 DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
 INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf
 qt-port:DEFINES += BUILDING_QT__
-qt-port:LIBS += -L$$OUTPUT_DIR/lib -lWebKitQt
+qt-port:LIBS += -L$$OUTPUT_DIR/lib -lQtWebKit
+gdk-port {
+    QMAKE_CXXFLAGS += $$system(icu-config --cppflags)
+    LIBS += $$system(icu-config --ldflags)
+}
 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
 
 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..