diff options
author | Kai Koehne <kai.koehne@qt.io> | 2020-11-06 17:31:29 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2020-11-19 17:27:30 +0100 |
commit | 4153fb8fc3e93a2b819e5b3426b907db9cea562f (patch) | |
tree | c81b2efac791d673d5534a9a6d2f053bd9ce2511 | |
parent | 4ef3da04c3390f02bcb0507128372e6a299dc8fd (diff) |
Update docs about how to configure OpenSSL
Change-Id: Ifd243cd8d3ac3fd52af649fd4507cfd9788e98d3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | src/network/doc/src/ssl.qdoc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/network/doc/src/ssl.qdoc b/src/network/doc/src/ssl.qdoc index e485a1b393..5ebcba1ca7 100644 --- a/src/network/doc/src/ssl.qdoc +++ b/src/network/doc/src/ssl.qdoc @@ -52,15 +52,14 @@ library at run-time. However, it is possible to link against the library at compile-time by configuring Qt with the \c{-openssl-linked} option. - When building a version of Qt linked against OpenSSL, the build system will - attempt to link with libssl and libcrypt libraries located in the default - location on the developer's system. This location is configurable: - set the \c OPENSSL_LIBS environment variable to contain the linker options - required to link Qt against the installed library. For example, on a Unix/Linux - system: + When building a version of Qt linked against OpenSSL, Qt's build system will + use CMake's \c{FindOpenSSL} command to find OpenSSL in several standard + locations. You can set the CMake variable OPENSSL_ROOT_DIR to force a + specific location. + For example: \code - OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked + configure -openssl-linked -- -D OPENSSL_ROOT_DIR=<openssl_dir> \endcode To disable SSL support in a Qt build, configure Qt with the \c{-no-openssl} |