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

qtbase 5.1.1 and xcb 1.9.3 don't work together

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.1.1
    • GUI: Window management
    • None

    Description

      I had qtbase 5.1.1 installed and working, then upgraded libxcb from 1.9.1 to 1.9.3. This results in an segmentation fault with every qt5 application in /usr/lib64/qt5/plugins/platforms/libqxcb.so. I am not using Arch Linux, but the same issue was reported in their forum: https://bbs.archlinux.org/viewtopic.php?id=172746

      Trying to recompile qtbase 5.1.1 using xcb 1.9.3 results in the following error:

      /var/tmp/paludis/build/x11-libs-qtbase-5.1.1/work/qtbase-opensource-src-5.1.1/src/plugins/platforms/xcb/qxcbconnection.cpp: In static member function 'static bool QXcbConnection::xi2PrepareXIGenericDeviceEvent(xcb_ge_event_t*, int)':
      /var/tmp/paludis/build/x11-libs-qtbase-5.1.1/work/qtbase-opensource-src-5.1.1/src/plugins/platforms/xcb/qxcbconnection.cpp:1712:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
           if (event->pad0 == opCode) {
                              ^
      

      Attachments

        1. xcb-193.patch
          0.9 kB
        2. build.log
          3.49 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paeglis Gatis Paeglis
            jirauser24798 user-8bf78 (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes