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

Windows: openssl-linked now fails during configure due to link errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.1, 5.13
    • Fix Version/s: 5.12.2, 5.14.0 Alpha
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      90959f7080d0d6d9953f0bc5fa7ac01a3e82e85f (qt/qtbase/5.12.2)

      Description

      Previously I would specify

      ../src/configure.bat -platform win32-msvc -openssl-linked OPENSSL_LIBS="-llibcrypto -llibssl -lgdi32 -luser32" -I"D:\libraries\openssl-1.1.1\vs\include" -L"D:\libraries\openssl-1.1.1\vs\lib" -confirm-license -opensource -developer-build
      

      But now in dev (and theoretically 5.12) this fails during configure with linker errors, complaining about missing symbols from system libraries; Adding `-lws2_32 -lAdvapi32 -lCrypt32` fixes this.

      After Reverting the following patch it goes back to the old behavior:

      https://codereview.qt-project.org/#/c/228222/5

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              manordheim Mårten Nordheim
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes