1 TARGET = DumpRenderTree 2 CONFIG -= app_bundle 3 !isEqual(QT_ARCH,sh4): CONFIG += uitools 4 5 BASEDIR = $$PWD/../ 6 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../.. 7 8 include(../../../Source/WebKit.pri) 9 INCLUDEPATH += ../../../Source 10 INCLUDEPATH += ../../../Source/JavaScriptCore 11 INCLUDEPATH += ../../../Source/JavaScriptCore/ForwardingHeaders 12 INCLUDEPATH += ../../../Source/WebKit/qt/WebCoreSupport 13 INCLUDEPATH += $$BASEDIR 14 DESTDIR = ../../bin 15 16 unix:!mac:!symbian:!embedded { 17 CONFIG += link_pkgconfig 18 PKGCONFIG += fontconfig 19 } 20 21 QT = core gui network testlib 22 macx: QT += xml 23 24 HEADERS = $$BASEDIR/WorkQueue.h \ 25 DumpRenderTreeQt.h \ 26 EventSenderQt.h \ 27 TextInputControllerQt.h \ 28 WorkQueueItemQt.h \ 29 LayoutTestControllerQt.h \ 30 GCControllerQt.h \ 31 PlainTextControllerQt.h \ 32 testplugin.h 33 SOURCES = ../../../Source/JavaScriptCore/wtf/Assertions.cpp \ 34 $$BASEDIR/WorkQueue.cpp \ 35 DumpRenderTreeQt.cpp \ 36 EventSenderQt.cpp \ 37 TextInputControllerQt.cpp \ 38 PlainTextControllerQt.cpp \ 39 WorkQueueItemQt.cpp \ 40 LayoutTestControllerQt.cpp \ 41 GCControllerQt.cpp \ 42 testplugin.cpp \ 43 main.cpp 44 45 unix:!mac { 46 QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR 47 } 48 49 wince*: { 50 INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat $$WCECOMPAT/include 51 LIBS += $$WCECOMPAT/lib/wcecompat.lib 52 } 53 54 DEFINES += USE_SYSTEM_MALLOC=1 55 DEFINES -= QT_ASCII_CAST_WARNINGS 56