Ensure QtLauncher and DumpRenderTree are linked against the uninstalled QtWebKit...
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2007 09:36:51 +0000 (09:36 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jul 2007 09:36:51 +0000 (09:36 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24641 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit.pri
WebKitQt/QtLauncher/QtLauncher.pro
WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro

index 412ad9b..b4a41d4 100644 (file)
@@ -8,7 +8,10 @@ isEmpty(OUTPUT_DIR) {
 
 !gdk-port:CONFIG += qt-port
 qt-port:DEFINES += BUILDING_QT__=1
-qt-port:!building-libs:LIBS += -L$$OUTPUT_DIR/lib -lQtWebKit
+qt-port:!building-libs {
+    QMAKE_LFLAGS = -L$$OUTPUT_DIR/lib $$QMAKE_LFLAGS
+    LIBS += -lQtWebKit
+}
 gdk-port:CONFIG += link_pkgconfig
 gdk-port:PKGCONFIG += cairo gdk-2.0 gtk+-2.0 libcurl
 gdk-port:DEFINES += BUILDING_GDK__=1 BUILDING_CAIRO__
index b6ec436..74cde8b 100644 (file)
@@ -3,4 +3,4 @@ SOURCES += main.cpp
 
 include(../../WebKit.pri)
 
-QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
+QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
index 3181263..b822d14 100644 (file)
@@ -11,5 +11,5 @@ HEADERS = DumpRenderTree.h jsobjects.h
 SOURCES = DumpRenderTree.cpp main.cpp jsobjects.cpp
 
 unix:!mac {
-    QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
+    QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
 }