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

compilation error: use of undeclared identifier 'QXkbCommon'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.8
    • Wayland Compositor
    • None
    • Linux/Wayland
    • 561a2394e1650e274dcaedb1afc09e2ccad1f784

    Description

      [1/152] Building CXX object qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandseat.cpp.o
      FAILED: qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandseat.cpp.o  
      /home/builder/.local/bin/clang++-17 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WAYLANDCOMPOSITOR_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT
      _NO_EXCEPTIONS -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_OPENGL_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DQT_WAYLANDGLOBA
      L_LIB -DWaylandCompositor_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/builder/qt6-host-developer-build/qtwayland/src/compositor/WaylandCompositor_autogen/include -I/home/builder/qt6-host-developer-build/qtbase/include -I/home/builder/qt6-host-developer-build/qtbase/include/QtWaylandCompositor -I/home/builder/qt5-git/qtwayland/src/compositor -I/home/bu
      ilder/qt6-host-developer-build/qtwayland/src/compositor -I/home/builder/qt5-git/qtwayland/src/compositor/../shared -I/home/builder/qt5-git/qtwayland/src/compositor/compositor_api -I/home/builder/qt5-git/qtwayland/src/compositor/extensions -I/home/builder/qt5-git/qtwayland/src/compositor/global -I/home/builder/qt5-git/qtwayland/src/compositor/wayland_wrapper -I/home
      /builder/qt6-host-developer-build/qtbase/include/QtWaylandCompositor/6.8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtWaylandCompositor/6.8.0/QtWaylandCompositor -I/home/builder/qt6-host-developer-build/qtdeclarative/src/qml -I/home/builder/qt6-host-developer-build/qtbase/include/QtQml/6.8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtQ
      ml/6.8.0/QtQml -I/home/builder/qt6-host-developer-build/qtbase/src/corelib -I/home/builder/qt6-host-developer-build/qtbase/include/QtCore/6.8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtCore/6.8.0/QtCore -I/home/builder/qt6-host-developer-build/qtbase/include/QtCore -I/home/builder/qt6-host-developer-build/qtbase/mkspecs/linux-clang -I/home/builder/
      qt6-host-developer-build/qtbase/include/QtQmlBuiltins/6.8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtQmlBuiltins/6.8.0/QtQmlBuiltins -I/home/builder/qt6-host-developer-build/qtbase/include/QtQmlBuiltins -I/home/builder/qt6-host-developer-build/qtbase/include/QtQml -I/home/builder/qt6-host-developer-build/qtbase/include/QtQmlIntegration -I/home/buil
      der/qt5-git/qtdeclarative/src/qmlintegration -I/home/builder/qt6-host-developer-build/qtdeclarative/src/qmlintegration -I/home/builder/qt6-host-developer-build/qtbase/include/QtNetwork -I/home/builder/qt6-host-developer-build/qtbase/include/QtGui -I/home/builder/qt6-host-developer-build/qtbase/src/gui -I/home/builder/qt6-host-developer-build/qtbase/include/QtGui/6.
      8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtGui/6.8.0/QtGui -I/home/builder/qt6-host-developer-build/qtbase/include/QtWaylandGlobal -I/home/builder/qt5-git/qtwayland/src -I/home/builder/qt6-host-developer-build/qtwayland/src -I/home/builder/qt6-host-developer-build/qtbase/include/QtWaylandGlobal/6.8.0 -I/home/builder/qt6-host-developer-build/qtbas
      e/include/QtWaylandGlobal/6.8.0/QtWaylandGlobal -I/home/builder/qt6-host-developer-build/qtbase/include/QtOpenGL -I/home/builder/qt6-host-developer-build/qtbase/include/QtQuick -I/home/builder/qt6-host-developer-build/qtbase/include/QtQmlModels -I/home/builder/qt6-host-developer-build/qtdeclarative/src/quick -I/home/builder/qt6-host-developer-build/qtbase/include/Q
      tQuick/6.8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtQuick/6.8.0/QtQuick -I/home/builder/qt6-host-developer-build/qtdeclarative/src/qmlmodels -I/home/builder/qt6-host-developer-build/qtbase/include/QtQmlModels/6.8.0 -I/home/builder/qt6-host-developer-build/qtbase/include/QtQmlModels/6.8.0/QtQmlModels -isystem /usr/include/wayland -DNDEBUG -O2 -std
      =c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Winvalid-pch -Xclang -include-pch -Xclang /home/builder/qt6-host-developer-build/qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/builder/qt6-host-developer-build/qtwayland/src/compositor/CMakeFiles/WaylandCompo
      sitor.dir/cmake_pch.hxx -MD -MT qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandseat.cpp.o -MF qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandseat.cpp.o.d -o qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/compositor_api/qwaylandseat.cpp.o -c /home/builder/qt5-git/qtwayland/src/compositor/
      compositor_api/qwaylandseat.cpp
      /home/builder/qt5-git/qtwayland/src/compositor/compositor_api/qwaylandseat.cpp:605:17: error: use of undeclared identifier 'QXkbCommon'
       605 |     auto text = QXkbCommon::lookupStringNoKeysymTransformations(keysym);
           |                 ^
      1 error generated.
      ninja: build stopped: subcommand failed.
      

      NOTE: I managed to circumvent it by using the undocumented flag configure -no-feature-wayland-server. But is this feature hidden on purpose, or should it be listed in configure -list-features?

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes