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

Build fails with Qt OPC UA when OpenSSL 1.1 is supported

XMLWordPrintable

    • Windows
    • eab67f67a (dev), 3bb1c4fb0 (6.10), ce2a9bb4b (6.9)

      If Qt is configured with support enabled for OpenSSL 1.1 the build fails with the following error:

      FAILED: qtopcua/src/opcua/CMakeFiles/OpcUa.dir/Release/x509/openssl_symbols.cpp.obj
      C:\qt\qt6\qtopcua\src\opcua\x509\openssl_symbols.cpp(112): error C3861: "EVP_PKEY_get_base_id": Bezeichner wurde nicht gefunden.
      [7453/21176] Building CXX object qtopcua\src\opcua\CMakeFiles\OpcUa.dir\Release\client\qopcuagenericstructhandlerprivate.cpp.obj
      ninja: build stopped: subcommand failed.

       

      The configure used for the failing build is:

      -debug-and-release -commercial -confirm-license -nomake examples -nomake tests -no-webengine-pepper-plugins -no-webengine-printing-and-pdf -no-webengine-spellchecker -no-webengine-webrtc -no-webengine-jumbo-build -qt-zlib -openssl-linked -- -DOPENSSL_ROOT_DIR=C:\qt\thirdparty\openssl-1.1.1h\win -DOPENSSL_USE_STATIC_LIBS=TRUE

       

      Should Qt OPC UA be disabled if the available OpenSSL version is not 3.x so that the build doesn’t fail? Especially when the configure summary lists the version in build options as follows:

       

        OpenSSL 1.1 ............................ yes
        OpenSSL 3.0 ............................ no
      

       

        For Gerrit Dashboard: QTBUG-138754
        # Subject Branch Project Status CR V

            qtbuildsystem Qt Build System Team
            tiheikka Titta Heikkala
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes