699ba50744
Change-Id: If1cc5fafddc41ed19dd818caf294c69cd4969216 Reviewed-by: Richard J. Moore <rich@kde.org>
36 lines
739 B
Prolog
36 lines
739 B
Prolog
CONFIG += testcase
|
|
|
|
SOURCES += tst_qsslsocket.cpp
|
|
!wince*:win32:LIBS += -lws2_32
|
|
QT = core core-private network-private testlib
|
|
|
|
TARGET = tst_qsslsocket
|
|
|
|
win32 {
|
|
CONFIG(debug, debug|release) {
|
|
DESTDIR = debug
|
|
} else {
|
|
DESTDIR = release
|
|
}
|
|
}
|
|
|
|
# OpenSSL support
|
|
contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
|
|
# Add optional SSL libs
|
|
LIBS += $$OPENSSL_LIBS
|
|
}
|
|
|
|
wince* {
|
|
DEFINES += SRCDIR=\\\"./\\\"
|
|
|
|
certFiles.files = certs ssl.tar.gz
|
|
certFiles.path = .
|
|
DEPLOYMENT += certFiles
|
|
} else {
|
|
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
|
}
|
|
|
|
linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC # QTBUG-24234
|
|
|
|
requires(contains(QT_CONFIG,private_tests))
|