Building static QT with openSSL support
Unsolved
General and Desktop
-
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"