[OE-core] [meta-qt5][meta-ti] X11 + Wayland in distro feature fails qtwayland build

Adam Lee adam.yh.lee at gmail.com
Wed Nov 8 17:18:46 UTC 2017


To run some x11 apps via Xwayland,I have both x11 and wayland in the distro
features on my Morty based TI-SDK.
I had to get mesa-gl included to provide the features of OpenGL that are
not provided by TI's SGX DDK for Xwayland to build.

With this change however, qtwayland is refusing to build because EGL does
not provide correct hooks:

| make[2]: Leaving directory
'/home/build/tisdk/build/arago-tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/qtwayland/5.7.1+gitAUTOINC+4b23163fb6-r0.arago0/build/src/imports'
|
/home/build/tisdk/build/arago-tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/qtwayland/5.7.1+gitAUTOINC+4b23163fb6-r0.arago0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:
In member function 'void
QtWaylandClient::QWaylandXCompositeEGLWindow::createEglSurface()':
|
/home/build/tisdk/build/arago-tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/qtwayland/5.7.1+gitAUTOINC+4b23163fb6-r0.arago0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:126:82:
*error: invalid conversion from 'Window {aka long unsigned int}' to
'EGLNativeWindowType {aka void*}'* [-fpermissive]
|      m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(),
m_config, m_xWindow,0);
|
         ^~~~~~~~~

I don't know why I am getting this error, as the provider for virtual/egl
is still ti-sgx-ddk-um, which is the SDK default.

Any insights will be appreciated!

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171108/c41a2653/attachment-0002.html>


More information about the Openembedded-core mailing list