Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building static QT with openSSL support

Building static QT with openSSL support

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 255 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.
  • I Offline
    I Offline
    ibicdlcod
    wrote on last edited by ibicdlcod
    #1

    Re: Official guide for compiling static QT with SSL support (possibly using OpenSSL toolkit already included in QT)

    I encountered the same problem in that thread but none of the solution works. I should note that even passing -openssl-runtime generates the same error(!)

    I have read https://doc.qt.io/qt-6/configure-options.html
    and https://doc.qt.io/qt-6/ssl.html, for updated information, sadly same problem persists.

    ~/Qt/6.7.0/Src/configure -prefix /home/hs/QtStatic -skip qt3d,qt5compat,qtactiveqt,qtcharts,qtcoap,qtconnectivity,qtdatavis3d,qtdoc,qtgraphs,qtgrpc,qthttpserver,qtinsighttracker,qtlanguageserver,qtlocation,qtlottie,qtmqtt,qtmultimedia,qtopcua,qtpositioning,qtquick3d,qtquick3dphysics,qtquickeffectmaker,qtquicktimeline,qtremoteobjects,qtscxml,qtsensors,qtserialbus,qtserialport,qtshadertools,qtspeech,qtvirtualkeyboard,qtwayland,qtwebchannel,qtwebengine,qtwebview,qtimageformats -openssl-linked -- -D OPENSSL_ROOT_DIR=/home/hs/openssl/lib64/
    

    output:

    CMake Error at qtbase/cmake/QtBuildInformation.cmake:523 (message):
      Feature "openssl": Forcing to "ON" breaks its condition:
    
          QT_FEATURE_openssl_runtime OR QT_FEATURE_openssl_linked
    
      Condition values dump:
    
          QT_FEATURE_openssl_runtime = "OFF"
          QT_FEATURE_openssl_linked = "OFF"
    
    1 Reply Last reply
    0

    • Login

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