Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
None
-
Ubuntu 12.04.03 LTS with the gcc-4.7-linaro-rpi-gnueabihf toolchain and cross compile tools from git://gitorious.org/cross-compile-tools/cross-compile-tools.git. Target was the 2014-01-07-wheezy-raspbian image.
-
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
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
For Gerrit Dashboard: QTBUG-36551 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
77523,1 | Make xcb compile with X-less EGL implementations | dev | qt/qtbase | Status: MERGED | +2 | 0 |