Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QT5 on IMX6 with xcb cross compile error

$
0
0
Hi, I’m have a yocto build(fsl-image-gui) running on my imx6 sabre sd board and noeẃ I want to try QT5 on it. I’m using the cross compiler from yocto: ./configure -opensource -confirm-license -make libs -make demos -make examples -device imx6 -device-option CROSS_COMPILE=/home/masa1/sabre/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /home/masa1/sabre/yocto/build/tmp/sysroots/imx6qsabresd -no-gcc-sysroot -prefix /usr/local/Qt5-yocto-imx6 -opengl es2 -v -no-pch I run in to the following problem: /home/masa1/sabre/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_RENDER -DXCB_USE_EGL -DSUPPORT_X11 -DQT_NO_XCB_XKB -DXCB_USE_IBUS -DQ_FONTCONFIGDATABASE -DQT_COMPILES_IN_HARFBUZZ -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../../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../include -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.0.1 -I../../../../include/QtPlatformSupport/5.0.1/QtPlatformSupport -I../../../../include/QtDBus -I../../../../include/QtGui -I../../../../include/QtGui/5.0.1 -I../../../../include/QtGui/5.0.1/QtGui -I../../../../include/QtCore -I../../../../include/QtCore/5.0.1 -I../../../../include/QtCore/5.0.1/QtCore -I.moc/release-shared -I/home/masa1/sabre/yocto/build/tmp/sysroots/imx6qsabresd/usr/include -o .obj/release-shared/qxcbconnection.o qxcbconnection.cpp qxcbconnection.cpp: In constructor 'QXcbConnection::QXcbConnection(QXcbNativeInterface*, const char*)': qxcbconnection.cpp:271:50: error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void* eglGetDisplay(EGLNativeDisplayType)' make[1]: *** [.obj/release-shared/qxcbconnection.o] Error 1 make[1]: Leaving directory `/home/masa1/sabre/qt5/qtbase/src/plugins/platforms/xcb' make: *** [sub-xcb-plugin-pro-make_first-ordered] Error 2 anyone got any clues? [Edit: Added @ tags for clarity — mlong]

Viewing all articles
Browse latest Browse all 18427

Trending Articles