[Interest] Qt6 - Fails to compile when openssl-linked enabled

Nuno Santos nuno.santos at imaginando.pt
Wed Dec 7 10:28:17 CET 2022


I’m trying to compile Qt 6 with openssl-linked but I’m having this error and I’m not being able to interpret it. 

What is failing? Can you please help me here?

Thanks in advance!



Configuring submodule 'qtbase'
CMake Error at qtbase/cmake/QtBuildInformation.cmake:490 (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"

Call Stack (most recent call first):
  qtbase/cmake/QtFeature.cmake:281 (qt_configure_add_report_error)
  qtbase/cmake/QtFeature.cmake:403 (qt_feature_check_and_save_internal_value)
  qtbase/cmake/QtFeature.cmake:155 (qt_evaluate_feature)
  qtbase/cmake/QtFeature.cmake:349 (qt_evaluate_config_expression)
  qtbase/cmake/QtFeature.cmake:606 (qt_evaluate_feature)
  qtbase/cmake/QtFeature.cmake:575 (qt_feature_module_end)
  qtbase/src/CMakeLists.txt:9 (qt_feature_evaluate_features)

-- Could NOT find md4c (missing: md4c_DIR)
-- Could NOT find md4c (missing: md4c_DIR)
CMake Error at qtbase/cmake/QtTargetHelpers.cmake:832 (message):
  WrapOpenSSLHeaders::WrapOpenSSLHeaders is not a valid target.
Call Stack (most recent call first):
  qtbase/src/plugins/tls/openssl/CMakeLists.txt:54 (qt_internal_add_target_include_dirs)

-- Configuring incomplete, errors occurred!

More information about the Interest mailing list