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

[qtvirtualkeyboard] Manual tests have unchecked library dependencies

    XMLWordPrintable

Details

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

    Description

      Manual tests depend on Xtstlib and xdolib, but these are not checked during configuration (only X11), leading to build errors.

      [17/54] Building CXX object qtvirtualkeyboard/tests/manual/x11vkbwrapper/CMakeFiles/x11vkbwrapper.dir/main.cpp.o
      FAILED: qtvirtualkeyboard/tests/manual/x11vkbwrapper/CMakeFiles/x11vkbwrapper.dir/main.cpp.o
      /usr/bin/ccache /usr/bin/clang++-19 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -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_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/home/moheim/qt/build-clangd-compile-commands/qtvirtualkeyboard/tests/manual/x11vkbwrapper\" -DQT_TESTCASE_SOURCEDIR=\"/home/moheim/qt/qt6/qtvirtualkeyboard/tests/manual/x11vkbwrapper\" -DQT_TESTLIB_LIB -DQT_VIRTUALKEYBOARD_LIB -DQT_WIDGETS_LIB -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/moheim/qt/build-clangd-compile-commands/qtvirtualkeyboard/tests/manual/x11vkbwrapper/x11vkbwrapper_autogen/include -I/home/moheim/qt/qt6/qtvirtualkeyboard/tests/manual/x11vkbwrapper -I/home/moheim/qt/build-clangd-compile-commands/qtvirtualkeyboard/tests/manual/x11vkbwrapper -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtDBus -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/QtGui -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtQml -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtQmlIntegration -I/home/moheim/qt/qt6/qtdeclarative/src/qmlintegration -I/home/moheim/qt/build-clangd-compile-commands/qtdeclarative/src/qmlintegration -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtNetwork -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtQuick -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtQmlMeta -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtQmlModels -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtQmlWorkerScript -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtOpenGL -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtSvg -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtVirtualKeyboard -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtWidgets -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtTest -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /usr/include/libmount -isystem /usr/include/blkid -g -std=gnu++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -pthread -fPIC -fcf-protection=full -ftrivial-auto-var-init=pattern -fstack-protector-strong -fexceptions -MD -MT qtvirtualkeyboard/tests/manual/x11vkbwrapper/CMakeFiles/x11vkbwrapper.dir/main.cpp.o -MF qtvirtualkeyboard/tests/manual/x11vkbwrapper/CMakeFiles/x11vkbwrapper.dir/main.cpp.o.d -o qtvirtualkeyboard/tests/manual/x11vkbwrapper/CMakeFiles/x11vkbwrapper.dir/main.cpp.o -c /home/moheim/qt/qt6/qtvirtualkeyboard/tests/manual/x11vkbwrapper/main.cpp
      In file included from /home/moheim/qt/qt6/qtvirtualkeyboard/tests/manual/x11vkbwrapper/main.cpp:15:
      /home/moheim/qt/qt6/qtvirtualkeyboard/tests/manual/x11vkbwrapper/handlekeyevents.h:12:10: fatal error: 'xdo.h' file not found
         12 | #include <xdo.h>
            |          ^~~~~~~
      1 error generated. 

      Attachments

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

        Activity

          People

            jakoivik Jarkko Koivikko
            moheim Moss Heim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes