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

Unable to compile Qt linked with OpenSSL statically on Win 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.1
    • Build System
    • None
    • x64 Native Tools command for vs 2019
    • Windows

    Description

      According the steps described  https://doc.qt.io/qt-5/windows-requirements.html

       

      set OPENSSL_DIR=C:\Program Files\OpenSSL-Win64
      configure -openssl-linked OPENSSL_INCDIR="%OPENSSL_DIR%\include" OPENSSL_LIBDIR="%OPENSSL_DIR%\lib\VC\static" OPENSSL_LIBS="-lWs2_32 -lGdi32 -lAdvapi32 -lCrypt32 -lUser32" OPENSSL_LIBS_DEBUG="-llibssl64MDd -llibcrypto64MDd" OPENSSL_LIBS_RELEASE="-llibssl64MD -llibcrypto64MD"
      

      I not able to link Qt Network against a static version of the OpenSSL libs

       

      error messages

      ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && !features.schannel && libs.openssl' failed.
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            spacex 0 0
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes