Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Trying to build Qt 6.3.1 and dynamic linked with OpenSSL 3.0.5 on Windows
Forum Updated to NodeBB v4.3 + New Features

Trying to build Qt 6.3.1 and dynamic linked with OpenSSL 3.0.5 on Windows

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 1 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Thuong Le
    wrote on last edited by
    #1

    I am trying to build Qt 6.3.1 and dynamically linked with OpenSSL 3x on Windows. In the past, I can build Qt 6.1.3 with OpenSSL 3x and there is no problem at all. But with Qt 6.3.1 I think the default option for SSL functions is built with schannel. Please ref this link: https://bugreports.qt.io/browse/QTBUG-82876

    I've try to disable this option (schannel) in the file: qtbase/cmake/configure-cmake-mapping.md:

    6186869f-85d2-4153-9dcc-3522bf4c2ab8-image.png

    And here are my config options (add -no-schannel which I've added as above):

    configure.bat -D FD_SETSIZE=4096 -release -prefix %DESTINATIONDIR% -shared -platform win32-msvc -opensource -confirm-license -openssl-linked -no-schannel -sql-psql -sql-sqlite -qt-zlib -qt-pcre --system-proxies -no-gui -no-widgets -no-gif -no-libpng -no-libjpeg -no-freetype -no-harfbuzz -no-accessibility -no-icu -no-fontconfig -no-opengl -no-egl -no-evdev -no-mtdev -no-sql-odbc -nomake tools -nomake examples -nomake tests -- -D OPENSSL_ROOT_DIR=%DEPENDENCIES_DIR%\openssl
    

    And in the summary options, it also logs that schannel is disabled:

    f212572e-0bd3-4398-93e7-6351f9820905-image.png

    But when I check the module Qt6Network.dll it is not linked to OpenSSL libs

    a419d72c-fb1a-4f69-863d-8e13e2a33d34-image.png

    My expected is: the dependencies of Qt6Network.dll is linked to OpenSSL libs

    462a43c9-1a72-4c3b-9ec3-b33a67b6212e-image.png

    So my questions are:

    1. How can I turn off schannel in the correct way?
    2. How can I make Qt6Network dynamically linked to OpenSSL libs?

    Appreciate any help here, thank you!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Thuong Le
      wrote on last edited by
      #2

      I've found the answer: https://stackoverflow.com/questions/73064050/trying-to-build-qt-6-3-1-and-dynamic-linked-with-openssl-3-0-5-on-windows

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved