summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlocalsocket/test/test.pro
blob: 8ce7c50a5c827dd28f84c312fc31884690c728c5 (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
load(qttest_p4)

include(../src/src.pri)

DEFINES += QLOCALSERVER_DEBUG
DEFINES += QLOCALSOCKET_DEBUG
!wince*: {
    DEFINES += SRCDIR=\\\"$$PWD/../\\\"
} else {
    DEFINES += QT_LOCALSOCKET_TCP
    DEFINES += SRCDIR=\\\"../\\\"
}

QT = core network

SOURCES += ../tst_qlocalsocket.cpp
TARGET = ../tst_qlocalsocket

win32 {
  CONFIG(debug, debug|release) {
    TARGET = ../../debug/tst_qlocalsocket
} else {
    TARGET = ../../release/tst_qlocalsocket
  }
}

wince* {
    additionalFiles.sources = ../lackey/lackey.exe
    additionalFiles.path = lackey
    scriptFiles.sources = ../lackey/scripts/*.js
    scriptFiles.path = lackey/scripts
    DEPLOYMENT = additionalFiles scriptFiles
    QT += script    # for easy deployment of QtScript
}