0
|
1 |
# OpenSSL support; compile in QSslSocket.
|
|
2 |
contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
|
|
3 |
|
|
4 |
|
|
5 |
symbian {
|
|
6 |
INCLUDEPATH *= $$OS_LAYER_SSL_SYSTEMINCLUDE
|
|
7 |
} else {
|
|
8 |
include($$QT_SOURCE_TREE/config.tests/unix/openssl/openssl.pri)
|
|
9 |
}
|
|
10 |
|
|
11 |
HEADERS += ssl/qssl.h \
|
|
12 |
ssl/qsslcertificate.h \
|
|
13 |
ssl/qsslcertificate_p.h \
|
|
14 |
ssl/qsslconfiguration.h \
|
|
15 |
ssl/qsslconfiguration_p.h \
|
|
16 |
ssl/qsslcipher.h \
|
|
17 |
ssl/qsslcipher_p.h \
|
|
18 |
ssl/qsslerror.h \
|
|
19 |
ssl/qsslkey.h \
|
|
20 |
ssl/qsslsocket.h \
|
|
21 |
ssl/qsslsocket_openssl_p.h \
|
|
22 |
ssl/qsslsocket_openssl_symbols_p.h \
|
|
23 |
ssl/qsslsocket_p.h
|
|
24 |
SOURCES += ssl/qssl.cpp \
|
|
25 |
ssl/qsslcertificate.cpp \
|
|
26 |
ssl/qsslconfiguration.cpp \
|
|
27 |
ssl/qsslcipher.cpp \
|
|
28 |
ssl/qsslerror.cpp \
|
|
29 |
ssl/qsslkey.cpp \
|
|
30 |
ssl/qsslsocket.cpp \
|
|
31 |
ssl/qsslsocket_openssl.cpp \
|
|
32 |
ssl/qsslsocket_openssl_symbols.cpp
|
|
33 |
|
|
34 |
# Include Qt's default CA bundle
|
|
35 |
RESOURCES += network.qrc
|
|
36 |
|
|
37 |
# Add optional SSL libs
|
|
38 |
LIBS_PRIVATE += $$OPENSSL_LIBS
|
|
39 |
}
|