summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdeclarativemimetype/qdeclarativemimetype.pro
blob: 7b957dfd45454c432c3dc45448914ec49f5d102a (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
include(../../../mimetypes-nolibs.pri)
LIBS += -L$$OUT_PWD/../../../src/mimetypes -lQtMimeTypes

TEMPLATE = app

TARGET = tst_qdeclarativemimetype

#CONFIG += warn_on qmltestcase
CONFIG -= app_bundle

CONFIG += depend_includepath

SOURCES += tst_qdeclarativemimetype.cpp

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

testcases.files += tst_qdeclarativemimetypedata.js tst_qdeclarativemimetypeproperties.qml tst_qdeclarativemimetype.qml

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