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

qxkbcommon.cpp:242:16: error: 'XKB_KEY_dead_lowline' was not declared in this scope

    XMLWordPrintable

Details

    • Linux/X11
    • 8af35d27e (dev), f3fbd07f7 (6.6), bcdec67cd (6.5), 220a9ccd2 (tqtc/lts-6.2), 272d959d4 (tqtc/lts-5.15)

    Description

       

      $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DENABLE_PIXMAN_DRAWHELPERS -DGui_EXPORTS -DMD4C_USE_UTF8 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_GUI_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE -DQT_QPA_DEFAULT_PLATFORM_NAME=\"xcb\" -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I$SRC_DIR/build_native/qtbase/src/gui/Gui_autogen/include -I$SRC_DIR/build_native/qtbase/include -I$SRC_DIR/build_native/qtbase/include/QtGui -I$SRC_DIR/qtbase/src/gui -I$SRC_DIR/build_native/qtbase/src/gui -I$SRC_DIR/qtbase/src/gui/../3rdparty/VulkanMemoryAllocator -I$SRC_DIR/build_native/qtbase/include/QtGui/6.5.2 -I$SRC_DIR/build_native/qtbase/include/QtGui/6.5.2/QtGui -I$SRC_DIR/qtbase/src/gui/../3rdparty/md4c -I$SRC_DIR/build_native/qtbase/include/QtCore -I$SRC_DIR/qtbase/mkspecs/linux-g++ -I$SRC_DIR/build_native/qtbase/src/corelib -I$SRC_DIR/build_native/qtbase/include/QtCore/6.5.2 -I$SRC_DIR/build_native/qtbase/include/QtCore/6.5.2/QtCore -I$SRC_DIR/build_native/qtbase/include/QtDBus -isystem $BUILD_PREFIX/include/harfbuzz -isystem $BUILD_PREFIX/include/freetype2 -isystem $BUILD_PREFIX/include/libpng16 -isystem $BUILD_PREFIX/include/glib-2.0 -isystem $BUILD_PREFIX/lib/glib-2.0/include -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/qt6-main-6.5.2 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -DNDEBUG -O3 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -MD -MT qtbase/src/gui/CMakeFiles/Gui.dir/platform/unix/qxkbcommon.cpp.o -MF qtbase/src/gui/CMakeFiles/Gui.dir/platform/unix/qxkbcommon.cpp.o.d -o qtbase/src/gui/CMakeFiles/Gui.dir/platform/unix/qxkbcommon.cpp.o -c $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:242:16: error: 'XKB_KEY_dead_lowline' was not declared in this scope; did you mean 'XKB_KEY_dead_belowring'?         242 | Xkb2Qt<XKB_KEY_dead_lowline, Qt::Key_Dead_Lowline>,         | ^~~~~~~~~~~~~~~~~~~~        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:244:79: error: template argument 1 is invalid         244 | Xkb2Qt<XKB_KEY_dead_belowverticalline, Qt::Key_Dead_Belowverticalline>,         | ^        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:245:16: error: 'XKB_KEY_dead_longsolidusoverlay' was not declared in this scope         245 | Xkb2Qt<XKB_KEY_dead_longsolidusoverlay, Qt::Key_Dead_Longsolidusoverlay>,         | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:245:80: error: template argument 1 is invalid         245 | Xkb2Qt<XKB_KEY_dead_longsolidusoverlay, Qt::Key_Dead_Longsolidusoverlay>,         | ^        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:392:5: error: template argument 157 is invalid         392 | >::Data{}         | ^        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:392:5: error: template argument 158 is invalid        $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:392:5: error: template argument 159 is invalid     
      $SRC_DIR/qtbase/src/gui/platform/unix/qxkbcommon.cpp:392:5: error: template argument 160 is invalid 
      

       

      xref https://github.com/xkbcommon/libxkbcommon/blob/6073565903488cb5b9a8d37fdc4a7c2f9d7ad04d/NEWS#L11
       
        https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70

       

      this also affects 5.15.x

       

      Attachments

        1. 0015-remove-deleted-xkb-keys.patch
          2 kB
          Julien Schueller
        2. Screenshot_20231011_105552.png
          18 kB
          Thiago Macieira

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              jschueller Julien Schueller
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes