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

Qt fails to build if the system xcb is being used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.3.0 Beta1
    • GUI: Window management
    • None
    • Linux: archlinux distro

    Description

      Qt from the stable branch (5.3) fails to build if the xcb is installed on the system.

      g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_RENDER -DXCB_USE_SM -DXCB_USE_GLX -DXCB_HAS_XCB_GLX -DXCB_USE_IBUS -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/home/kokeroulis/sources/kde5/qt5/qtbase/mkspecs/linux-g++ -I/home/kokeroulis/sources/kde5/qt5/qtbase/src/plugins/platforms/xcb -I../../../../include -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.3.0 -I../../../../include/QtPlatformSupport/5.3.0/QtPlatformSupport -I../../../../include/QtGui/5.3.0 -I../../../../include/QtGui/5.3.0/QtGui -I../../../../include/QtDBus -I../../../../include/QtCore/5.3.0 -I../../../../include/QtCore/5.3.0/QtCore -I../../../../include/QtGui -I../../../../include/QtCore -I.moc -I. -o .obj/qxcbkeyboard.o /home/kokeroulis/sources/kde5/qt5/qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp
      /home/kokeroulis/sources/kde5/qt5/qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp: In member function ‘void QXcbKeyboard::printKeymapError(const QString&) const’:
      /home/kokeroulis/sources/kde5/qt5/qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp:672:11: error: ‘DFLT_XKB_CONFIG_ROOT’ was not declared in this scope
               : DFLT_XKB_CONFIG_ROOT;
                 ^
      Makefile.xcb-plugin:3673: recipe for target '.obj/qxcbkeyboard.o' failed
      make[6]: *** [.obj/qxcbkeyboard.o] Error 1
      

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            kokeroulis Antonis Tsiapaliokas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes