Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem building Qt 6.8 for android with openssl
Forum Updated to NodeBB v4.3 + New Features

Problem building Qt 6.8 for android with openssl

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 565 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    cjhinza
    wrote on last edited by
    #1

    I am building Qt 6.8.0 from source for android (all abis) on Ubuntu 22.04. I want to enable openssl but I get the error:

    CMake Error at qtbase/cmake/QtBuildInformation.cmake:534 (message):
    Feature "openssl_runtime": Forcing to "ON" breaks its condition:
    TEST_opensslv11_headers OR TEST_opensslv30_headers
    Condition values dump:
    TEST_opensslv11_headers = "FALSE"
    TEST_opensslv30_headers = "FALSE"

    What are the values I have to pass to ./configure -openssl?

    I have built openssl 3.1.1 as described here: https://doc.qt.io/qt-6/android-openssl-support.html

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cjhinza
      wrote on last edited by
      #2

      Additional errors just after the above

      Call Stack (most recent call first):
      qtbase/cmake/QtFeature.cmake:322 (qt_configure_add_report_error)
      qtbase/cmake/QtFeature.cmake:442 (qt_feature_check_and_save_internal_value)
      qtbase/cmake/QtFeature.cmake:141 (qt_evaluate_feature)
      qtbase/cmake/QtFeature.cmake:180 (qt_internal_evaluate_config_expression)
      qtbase/cmake/QtFeature.cmake:396 (qt_evaluate_config_expression)
      qtbase/cmake/QtFeature.cmake:711 (qt_evaluate_feature)
      qtbase/cmake/QtBaseGlobalTargets.cmake:109 (qt_feature_module_end)
      qtbase/cmake/QtBaseHelpers.cmake:186 (include)
      qtbase/CMakeLists.txt:32 (qt_internal_qtbase_build_repo)

      CMake Error at qtbase/cmake/QtTargetHelpers.cmake:1483 (message):
      WrapOpenSSLHeaders::WrapOpenSSLHeaders is not a valid target.
      Call Stack (most recent call first):
      qtbase/src/plugins/tls/openssl/CMakeLists.txt:61 (qt_internal_add_target_include_dirs)

      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