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

qtopcua is confused about SSL and OpenSSL

    XMLWordPrintable

Details

    • All
    • dc9e4b149 (dev), 3f69621df (6.6), 04aaaefd1 (6.5), bbfc5bf89 (tqtc/lts-6.5)

    Description

      Simply said the build scripts of qtopcua are confused about QT_FEATURE_ssl and QT_FEATURE_openssl. It should be using QT_FEATURE_openssl but is using QT_FEATURE_ssl. Leading to e.g.:
      E:\vcpkg_folders\qt6-update\buildtrees\qtopcua\src\qtopcua-v6-40e246f45a\src\opcua\x509\qopcuakeypair_openssl.cpp(107): error C3861: 'q_EVP_PKEY_CTX_new_id': identifier not found
      E:\vcpkg_folders\qt6-update\buildtrees\qtopcua\src\qtopcua-v6-40e246f45a\src\opcua\x509\qopcuakeypair_openssl.cpp(112): error C2065: 'q_EVP_PKEY_CTX_free': undeclared identifier
      E:\vcpkg_folders\qt6-update\buildtrees\qtopcua\src\qtopcua-v6-40e246f45a\src\opcua\x509\qopcuakeypair_openssl.cpp(114): error C3861: 'q_EVP_PKEY_keygen_init': identifier not found
      E:\vcpkg_folders\qt6-update\buildtrees\qtopcua\src\qtopcua-v6-40e246f45a\src\opcua\x509\qopcuakeypair_openssl.cpp(119): error C3861: 'q_EVP_PKEY_CTX_set_rsa_keygen_bits': identifier not found
      E:\vcpkg_folders\qt6-update\buildtrees\qtopcua\src\qtopcua-v6-40e246f45a\src\opcua\x509\qopcuakeypair_openssl.cpp(124): error C3861: 'q_EVP_PKEY_keygen': identifier not found
      E:\vcpkg_folders\qt6-update\buildtrees\qtopcua\src\qtopcua-v6-40e246f45a\src\opcua\x509\qopcuakeypair_openssl.cpp(177): error C2027: use of undefined type 'evp_pkey_st'
      affected lines:
      https://github.com/qt/qtopcua/blob/a44543941a7aed6c6f29d15469623f053626d40a/src/opcua/CMakeLists.txt#L95
      https://github.com/qt/qtopcua/blob/a44543941a7aed6c6f29d15469623f053626d40a/src/opcua/CMakeLists.txt#L113

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            neumann-a Alexander Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes