2011-10-25 04:42:16 +00:00
|
|
|
CONFIG += testcase
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
SOURCES += tst_qsslsocket.cpp
|
|
|
|
!wince*:win32:LIBS += -lws2_32
|
2011-10-25 04:42:16 +00:00
|
|
|
QT += core-private network-private testlib
|
2011-04-27 10:05:43 +00:00
|
|
|
QT -= gui
|
|
|
|
|
|
|
|
TARGET = tst_qsslsocket
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DESTDIR = debug
|
|
|
|
} else {
|
|
|
|
DESTDIR = release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-31 17:35:35 +00:00
|
|
|
# OpenSSL support
|
|
|
|
contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
|
|
|
|
# Add optional SSL libs
|
|
|
|
LIBS += $$OPENSSL_LIBS
|
|
|
|
}
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
wince* {
|
|
|
|
DEFINES += SRCDIR=\\\"./\\\"
|
|
|
|
|
|
|
|
certFiles.files = certs ssl.tar.gz
|
|
|
|
certFiles.path = .
|
|
|
|
DEPLOYMENT += certFiles
|
|
|
|
} else {
|
|
|
|
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
|
|
|
}
|
|
|
|
|
2012-04-27 08:41:05 +00:00
|
|
|
linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC # QTBUG-24234
|
2012-01-12 01:38:55 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
requires(contains(QT_CONFIG,private_tests))
|
2012-08-01 11:19:40 +00:00
|
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|