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

qxcbconnection.cpp Has Compile Errors in Qt 5.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.2.0
    • GUI: Window management
    • None
    • 54835e3ccf4e02c6e2607556fa2075df18cc753c

    Description

      When trying to cross compile Qt for the Raspberry Pi, I get the following error message:

      qxcbconnection.cpp: In constructor 'QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, const char*)':
      qxcbconnection.cpp:280:45: error: invalid conversion from 'EGLNativeDisplayType

      {aka void*}' to 'Display* {aka _XDisplay*}' [-fpermissive]
      In file included from qxcbconnection.cpp:72:0:
      /mnt/rasp-pi-rootfs/usr/include/X11/Xlib-xcb.h:13:19: error: initializing argument 1 of 'xcb_connection_t* XGetXCBConnection(Display*)' [-fpermissive]
      qxcbconnection.cpp:281:51: error: invalid conversion from 'EGLNativeDisplayType {aka void*}

      ' to 'Display*

      {aka _XDisplay*}

      ' [-fpermissive]
      In file included from qxcbconnection.cpp:72:0:
      /mnt/rasp-pi-rootfs/usr/include/X11/Xlib-xcb.h:16:6: error: initializing argument 1 of 'void XSetEventQueueOwner(Display*, XEventQueueOwner)' [-fpermissive]

      I was following the "Beginners Guide to Cross Compile Qt5 on a RaspberryPi," with the execption of also having installed the packages in "Native Build of Qt 5 on a Raspberry Pi" that were listed as "needed for compiling."

      Sorry I can't seem to get the error text to format properly. I have included it in the .txt attachment.

      Charles

      Attachments

        1. Error.txt
          0.8 kB
          Charles Werther
        For Gerrit Dashboard: QTBUG-36551
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            charleskw Charles Werther
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes