summaryrefslogtreecommitdiffstats
path: root/libqsystemtest/libqsystemtest.pro
blob: cbc59fb2b0ffff56450bf28f83d796869a524d41 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
DEFINES += QSYSTEMTEST_TARGET

FORMS   +=\
        manualverificationdlg.ui \
        failuredlg.ui \
        recorddlg.ui

SEMI_PRIVATE_HEADERS += \
        qsystemtestmaster_p.h \
        qtestremote_p.h \
        qtestprotocol_p.h \
        qtestverifydlg_p.h

HEADERS +=\
        qabstracttest.h \
        qsystemtest.h \
        qtestide.h \
        testcontrol.h \
        maemotestcontrol.h \
        meegotestcontrol.h \
        symbiantestcontrol.h \
        desktoptestcontrol.h \
        customtestcontrol.h

SOURCES +=\
        qabstracttest.cpp \
        qtestide.cpp \
        qtestremote.cpp \
        qtestverifydlg.cpp \
        qsystemtest.cpp \
        qsystemtest_p.cpp \
        qsystemtestmaster.cpp \
        qtestprotocol.cpp \
        testcontrol.cpp \
        maemotestcontrol.cpp \
        meegotestcontrol.cpp \
        symbiantestcontrol.cpp \
        desktoptestcontrol.cpp \
        customtestcontrol.cpp

VPATH+=$$PWD
INCLUDEPATH+=$$PWD
INCLUDEPATH+=$$SRCROOT
INCLUDEPATH+=$$SRCROOT/botan/build
INCLUDEPATH+=$$SRCROOT/coreplugin
DEPENDPATH+=$$SRCROOT

TEMPLATE=lib
TARGET=qsystemtest
TARGET=$$qtLibraryTarget($$TARGET)
HEADERS*=$$SEMI_PRIVATE_HEADERS $$PRIVATE_HEADERS
CONFIG+=qtestlib
QT+=network script
LIBS+=-L$$BUILDROOT/lib -lBotan -lCore

unix:!symbian {
    DESTDIR=$$BUILDROOT/lib
    target.path=$$[QT_INSTALL_LIBS]
    INSTALLS+=target
}

symbian {
    TARGET.EPOCALLOWDLLDATA=1
    TARGET.CAPABILITY += AllFiles ReadDeviceData ReadUserData SwEvent WriteUserData
    LIBS+=-L$$OUT_PWD -lws32 -leuser -lcone
}

win32 {
    target.path=$$[QT_INSTALL_BINS]
    INSTALLS+=target
    !equals(QMAKE_CXX, "g++") {
        DEFINES+=strcasecmp=_stricmp
    }
}

mac {
    DEFINES+=sighandler_t=sig_t
}