1TEMPLATE = app 2CONFIG -= app_bundle 3 4VPATH += $$_PRO_FILE_PWD_ 5# Add the tst_ prefix, In QTDIR_build it's done by qttest_p4.prf 6CONFIG(QTDIR_build) { load(qttest_p4) } 7ELSE { TARGET = tst_$$TARGET } 8 9# Load mobilityconfig if Qt Mobility is available 10load(mobilityconfig, true) 11contains(MOBILITY_CONFIG, multimedia) { 12 # This define is used by tests depending on Qt Multimedia 13 DEFINES -= WTF_USE_QT_MULTIMEDIA=0 14 DEFINES += WTF_USE_QT_MULTIMEDIA=1 15} 16 17SOURCES += $${TARGET}.cpp 18INCLUDEPATH += \ 19 $$PWD \ 20 $$PWD/../Api 21 22include(../../../WebKit.pri) 23QT += testlib network 24contains(QT_CONFIG, declarative): QT += declarative 25 26QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR 27 28symbian { 29 TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices 30} 31 32# This define is used by some tests to look up resources in the source tree 33!symbian: DEFINES += TESTS_SOURCE_DIR=\\\"$$PWD/\\\" 34 35DEFINES -= QT_ASCII_CAST_WARNINGS 36 37