qt5base-lts/tests/auto/network/ssl/qsslsocket/qsslsocket.pro
Sergio Ahumada 699ba50744 QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
Change-Id: If1cc5fafddc41ed19dd818caf294c69cd4969216
Reviewed-by: Richard J. Moore <rich@kde.org>
2014-02-25 16:47:13 +01:00

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))