Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93948

obsolete note about linked openssl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.5.0 FF
    • 6.0.0, 6.1.0, 6.2.0 Alpha
    • Build System: CMake
    • None

    Description

      Although Qt 6 has ported to CMake build system, I can still see following configure note when I build Qt with linked openssl:

      Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked

      Apparently this note is obsolete. It seems that CMake build system does not use OPENSSL_LIBS variable. So this note should be removed, or be updated.

       

      As a reference, if users want to override the default library names in CMake:

      On MSVC, they should set these variables: SSL_EAY_DEBUG SSL_EAY_RELEASE LIB_EAY_DEBUG LIB_EAY_RELEASE.

      On MinGW, they should set SSL_EAY and LIB_EAY variables.

      On Other platforms, they should set OPENSSL_SSL_LIBRARY and OPENSSL_CRYPTO_LIBRARY variables. 

      On MSVC, if users use openssl from http://slproweb.com/products/Win32OpenSSL.html, they may need to set OPENSSL_USE_STATIC_LIBS to TRUE to look for static libraries, and set OPENSSL_MSVC_STATIC_RT to TRUE to choose the MT version of the lib.

      Attachments

        For Gerrit Dashboard: QTBUG-93948
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            lixinwei Li Xinwei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes