Fix the build: WebKitQt is now called QtWebKit
[WebKit-https.git] / JavaScriptCore / kjs / testkjs.pro
index d441dd17f90f745358caa619f19414f5168364a7..a2501e88ce447a9e2ba533095ff45d9aa37a0f9c 100644 (file)
@@ -4,9 +4,13 @@ DESTDIR = ..
 SOURCES = testkjs.cpp
 QT -= gui
 DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
 SOURCES = testkjs.cpp
 QT -= gui
 DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
-DEFINES += BUILDING_QT__
 INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf
 INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf
-LIBS += -L$$OUTPUT_DIR/lib -lWebKitQt
+qt-port:DEFINES += BUILDING_QT__
+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/../..
 QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
 
 isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..