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
|
2013-08-18 16:32:00 +00:00
|
|
|
QT = core core-private network-private testlib
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
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))
|