From 4153fb8fc3e93a2b819e5b3426b907db9cea562f Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 6 Nov 2020 17:31:29 +0100 Subject: Update docs about how to configure OpenSSL Change-Id: Ifd243cd8d3ac3fd52af649fd4507cfd9788e98d3 Reviewed-by: Alexandru Croitor --- src/network/doc/src/ssl.qdoc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/network/doc/src/ssl.qdoc') 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= \endcode To disable SSL support in a Qt build, configure Qt with the \c{-no-openssl} -- cgit v1.2.3