d04bf8f407
qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I02fe27b2c1800f929250fa8694ca2976c9661a12 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
42 lines
788 B
Prolog
42 lines
788 B
Prolog
CONFIG += testcase
|
|
|
|
DEFINES += QLOCALSERVER_DEBUG
|
|
DEFINES += QLOCALSOCKET_DEBUG
|
|
|
|
wince* {
|
|
DEFINES += QT_LOCALSOCKET_TCP
|
|
DEFINES += SRCDIR=\\\"../\\\"
|
|
} else {
|
|
DEFINES += SRCDIR=\\\"$$PWD/../\\\"
|
|
}
|
|
|
|
QT = core network testlib
|
|
|
|
SOURCES += ../tst_qlocalsocket.cpp
|
|
|
|
TARGET = tst_qlocalsocket
|
|
CONFIG(debug_and_release) {
|
|
CONFIG(debug, debug|release) {
|
|
DESTDIR = ../debug
|
|
} else {
|
|
DESTDIR = ../release
|
|
}
|
|
} else {
|
|
DESTDIR = ..
|
|
}
|
|
|
|
wince* {
|
|
additionalFiles.files = ../lackey/lackey.exe
|
|
additionalFiles.path = lackey
|
|
}
|
|
|
|
wince* {
|
|
scriptFiles.files = ../lackey/scripts/*.js
|
|
scriptFiles.path = lackey/scripts
|
|
DEPLOYMENT += additionalFiles scriptFiles
|
|
QT += script # for easy deployment of QtScript
|
|
|
|
requires(contains(QT_CONFIG,script))
|
|
}
|
|
|