summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdeclarativemimedatabase/qdeclarativemimedatabase.pro
blob: da54f969db9a887a3371a81320acfa40131141cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include(../../../mimetypes-nolibs.pri)
LIBS += -L$$OUT_PWD/../../../src/mimetypes -lQtMimeTypes

TEMPLATE = app

TARGET = tst_qdeclarativemimedatabase

#CONFIG += warn_on qmltestcase
CONFIG -= app_bundle

QT += qmltest

CONFIG += depend_includepath

SOURCES += tst_qdeclarativemimedatabase.cpp

# this reads the QML files from the same directory as this pro file
DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\".\\\"\"

testcases.files += testdata_list.js tst_qdeclarativemimedatabase.qml

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib/QtMimeTypes-tests/qdeclarativemimedatabase
        testcases.path = /opt/usr/lib/QtMimeTypes-tests/qdeclarativemimedatabase
    } else {
        target.path = /usr/lib/QtMimeTypes-tests/qdeclarativemimedatabase
        testcases.path = /usr/lib/QtMimeTypes-tests/qdeclarativemimedatabase
    }
    INSTALLS += testcases target
}