Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96663

configure doesn't correctly set OpenSSL paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 6.2.0 RC, 6.2.0
    • Build System: CMake
    • None
    • Windows 10 pro for Workstations 21H1 19043.1237
    • Android, Windows

    Description

      When trying to build Qt 6.2.0 RC for Android (cross compile) on Windows 10 21H1, setting -openssl-runtime or -openssl-linked and -DOPENSSL_ROOT_DIR, -DOPENSSL_INCLUDE_DIR, etc doesn't work: the build system can't detect OpenSSL (1.1.1l).

       

      As you can see from "result.txt", it's like those variables are not set, because at some point it complains about:

      -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
      -- Could NOT find WrapOpenSSLHeaders (missing: OPENSSL_INCLUDE_DIR)

      Attachments

        1. build.txt
          2 kB
        2. CMakeCache.txt
          229 kB
        3. config.opt
          0.8 kB
        4. config.opt.in
          0.8 kB
        5. config.summary
          15 kB
        6. result.txt
          76 kB
        7. result 1.txt
          75 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            jubba Claudio Barutta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes