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

[qtopcua] Cannot build manual tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • OpcUA
    • None
    • Linux/Wayland

    Description

      When building with manual tests enabled:

      FAILED: qtopcua/tests/manual/gds/CMakeFiles/tst_gds.dir/tst_gds.cpp.o 
      /usr/bin/ccache /usr/bin/clang++-19 -DQT_CORE_LIB -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_OPCUA_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TESTCASE_BUILDDIR=\"/home/moheim/qt/build-clangd-compile-commands/qtopcua/tests/manual/gds\" -DQT_TESTCASE_SOURCEDIR=\"/home/moheim/qt/qt6/qtopcua/tests/manual/gds\" -DQT_TESTLIB_LIB -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/moheim/qt/build-clangd-compile-commands/qtopcua/tests/manual/gds/tst_gds_autogen/include -I/home/moheim/qt/qt6/qtopcua/tests/manual/gds -I/home/moheim/qt/build-clangd-compile-commands/qtopcua/tests/manual/gds -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtNetwork -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtCore -I/home/moheim/qt/qt6/qtbase/mkspecs/linux-clang -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtOpcUa -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtTest -g -std=gnu++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fPIC -fcf-protection=full -ftrivial-auto-var-init=pattern -fstack-protector-strong -fexceptions -MD -MT qtopcua/tests/manual/gds/CMakeFiles/tst_gds.dir/tst_gds.cpp.o -MF qtopcua/tests/manual/gds/CMakeFiles/tst_gds.dir/tst_gds.cpp.o.d -o qtopcua/tests/manual/gds/CMakeFiles/tst_gds.dir/tst_gds.cpp.o -c /home/moheim/qt/qt6/qtopcua/tests/manual/gds/tst_gds.cpp
      /home/moheim/qt/qt6/qtopcua/tests/manual/gds/tst_gds.cpp:5:10: fatal error: 'QtOpcUa/QOpcUaGdsClient' file not found
          5 | #include <QtOpcUa/QOpcUaGdsClient>
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated. 

      Attachments

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

        Activity

          People

            basyskom.jannis.voelker Jannis Völker
            moheim Moss Heim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes