* Problem compiling QtWayland
@ 2014-10-13 11:04 Ruben Morgade
2015-04-09 17:08 ` Benjamin Federau
0 siblings, 1 reply; 10+ messages in thread
From: Ruben Morgade @ 2014-10-13 11:04 UTC (permalink / raw)
To: meta-freescale
Dear all,
We are trying to test Qt5+wayland on a wandboard quad. We are using:
fsl-community-bsp in master branch
meta-qt5 in master branch
Everything up-to-date.
We are able to generate the core-image-weston with some extra features
as per the following local.conf file:
MACHINE ??= 'wandboard-quad'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
BB_NUMBER_THREADS = '16'
PARALLEL_MAKE = '-j 16'
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""
LICENSE_FLAGS_WHITELIST += "commercial"
DISTRO_FEATURES_append = " wayland opengl"
DISTRO_FEATURES_remove = " x11 directfb"
IMAGE_INSTALL_append = " \
firmware-imx-vpu-imx6q \
firmware-imx-vpu-imx6d \
"
IMAGE_INSTALL_append = " \
cpufrequtils \
nano \
packagegroup-fsl-gstreamer-full \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
gstreamer \
packagegroup-fslc-gstreamer1.0-full \
python-smartpm \
gst-plugins-base-app \
gst-plugins-base \
gst-plugins-good \
gst-plugins-good-rtsp \
gst-plugins-good-udp \
gst-plugins-good-rtpmanager \
gst-plugins-good-rtp \
gst-plugins-good-video4linux2 \
qtbase-fonts \
qtbase-plugins \
qtbase-tools \
qtbase-examples \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-examples \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-examples \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtimageformats-plugins \
qtsystems \
qtsystems-tools \
qtsystems-examples \
qtsystems-qmlplugins \
qtscript \
qt3d \
qt3d-examples \
qt3d-qmlplugins \
qt3d-tools \
qtwebkit \
qtwebkit-examples-examples \
qtwebkit-qmlplugins \
chromium \
cinematicexperience \
"
Everything compiles ok, but if we add or try to compile separately
qtWayland, we get this error:
| compiling
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/plugins/platforms/qwayland-xcomposite-egl/main.cpp
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:
In member function 'void QWaylandXCompositeEGLWindow::createEglSurface()':
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:125:93:
error: invalid conversion from 'Window {aka long unsigned int}' to
'EGLNativeWindowType {aka _FBWindow*}' [-fpermissive]
| m_surface =
eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config,
m_xWindow,0);
| ^
| In file included from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h:59:0,
| from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h:48,
| from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:42:
|
/opt/Freescale/yocto-master/build/tmp/sysroots/wandboard-quad/usr/include/EGL/egl.h:264:31:
note: initializing argument 3 of 'void*
eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const
EGLint*)'
| EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy,
EGLConfig config,
| ^
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:
In static member function 'static void
QWaylandXCompositeEGLClientBufferIntegration::rootInformation(void*,
qt_xcomposite*, const char*, uint32_t)':
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:137:67:
error: cannot convert 'Display* {aka _XDisplay*}' to
'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void*
eglGetDisplay(EGLNativeDisplayType)'
| integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
| ^
| make[4]: *** [.obj/qwaylandxcompositeeglclientbufferintegration.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1
| make[4]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms/qwayland-xcomposite-egl'
| make[3]: *** [sub-qwayland-xcomposite-egl-make_first-ordered] Error 2
| make[3]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms'
| make[2]: *** [sub-platforms-make_first] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[5]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor/xcomposite-egl'
| make[4]: *** [sub-xcomposite-egl-make_first] Error 2
| make[4]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor'
| make[3]: *** [sub-compositor-make_first] Error 2
| make[3]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration'
| make[2]: *** [sub-hardwareintegration-make_first] Error 2
| make[2]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins'
| make[1]: *** [sub-plugins-make_first-ordered] Error 2
| make[1]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/temp/log.do_compile.28308)
Anybody who has faced this issue?
Kind Regards,
Ruben
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2014-10-13 11:04 Problem compiling QtWayland Ruben Morgade
@ 2015-04-09 17:08 ` Benjamin Federau
2015-04-09 17:45 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Benjamin Federau @ 2015-04-09 17:08 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 7618 bytes --]
Hi,
Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
Dear all,
We are trying to test Qt5+wayland on a wandboard quad. We are using:
fsl-community-bsp in master branch
meta-qt5 in master branch
Everything up-to-date.
We are able to generate the core-image-weston with some extra features
as per the following local.conf file:
MACHINE ??= 'wandboard-quad'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
BB_NUMBER_THREADS = '16'
PARALLEL_MAKE = '-j 16'
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""
LICENSE_FLAGS_WHITELIST += "commercial"
DISTRO_FEATURES_append = " wayland opengl"
DISTRO_FEATURES_remove = " x11 directfb"
IMAGE_INSTALL_append = " \
firmware-imx-vpu-imx6q \
firmware-imx-vpu-imx6d \
"
IMAGE_INSTALL_append = " \
cpufrequtils \
nano \
packagegroup-fsl-gstreamer-full \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
gstreamer \
packagegroup-fslc-gstreamer1.0-full \
python-smartpm \
gst-plugins-base-app \
gst-plugins-base \
gst-plugins-good \
gst-plugins-good-rtsp \
gst-plugins-good-udp \
gst-plugins-good-rtpmanager \
gst-plugins-good-rtp \
gst-plugins-good-video4linux2 \
qtbase-fonts \
qtbase-plugins \
qtbase-tools \
qtbase-examples \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-examples \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-examples \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtimageformats-plugins \
qtsystems \
qtsystems-tools \
qtsystems-examples \
qtsystems-qmlplugins \
qtscript \
qt3d \
qt3d-examples \
qt3d-qmlplugins \
qt3d-tools \
qtwebkit \
qtwebkit-examples-examples \
qtwebkit-qmlplugins \
chromium \
cinematicexperience \
"
Everything compiles ok, but if we add or try to compile separately
qtWayland, we get this error:
| compiling
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/plugins/platforms/qwayland-xcomposite-egl/main.cpp
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:
In member function 'void QWaylandXCompositeEGLWindow::createEglSurface()':
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:125:93:
error: invalid conversion from 'Window {aka long unsigned int}' to
'EGLNativeWindowType {aka _FBWindow*}' [-fpermissive]
| m_surface =
eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config,
m_xWindow,0);
| ^
| In file included from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h:59:0,
| from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h:48,
| from
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:42:
|
/opt/Freescale/yocto-master/build/tmp/sysroots/wandboard-quad/usr/include/EGL/egl.h:264:31:
note: initializing argument 3 of 'void*
eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const
EGLint*)'
| EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy,
EGLConfig config,
| ^
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:
In static member function 'static void
QWaylandXCompositeEGLClientBufferIntegration::rootInformation(void*,
qt_xcomposite*, const char*, uint32_t)':
|
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/git/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:137:67:
error: cannot convert 'Display* {aka _XDisplay*}' to
'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void*
eglGetDisplay(EGLNativeDisplayType)'
| integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
| ^
| make[4]: *** [.obj/qwaylandxcompositeeglclientbufferintegration.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1
| make[4]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms/qwayland-xcomposite-egl'
| make[3]: *** [sub-qwayland-xcomposite-egl-make_first-ordered] Error 2
| make[3]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/platforms'
| make[2]: *** [sub-platforms-make_first] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[5]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor/xcomposite-egl'
| make[4]: *** [sub-xcomposite-egl-make_first] Error 2
| make[4]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration/compositor'
| make[3]: *** [sub-compositor-make_first] Error 2
| make[3]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins/hardwareintegration'
| make[2]: *** [sub-hardwareintegration-make_first] Error 2
| make[2]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src/plugins'
| make[1]: *** [sub-plugins-make_first-ordered] Error 2
| make[1]: Leaving directory
`/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/build/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/opt/Freescale/yocto-master/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwayland/5.3.2-r0/temp/log.do_compile.28308)
Anybody who has faced this issue?
I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto dizzy) right now.
Could you solve this build issue?
Cheers
-
Benjamin Federau
[-- Attachment #2: Type: text/html, Size: 8709 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2015-04-09 17:08 ` Benjamin Federau
@ 2015-04-09 17:45 ` Otavio Salvador
2015-04-10 7:53 ` Benjamin Federau
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-04-09 17:45 UTC (permalink / raw)
To: Benjamin Federau; +Cc: meta-freescale
On Thu, Apr 9, 2015 at 2:08 PM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
...
> I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto
> dizzy) right now.
>
> Could you solve this build issue?
...
We had some projects using Wayland and it worked fine. What issue you
are having?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2015-04-09 17:45 ` Otavio Salvador
@ 2015-04-10 7:53 ` Benjamin Federau
2015-04-10 12:49 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Benjamin Federau @ 2015-04-10 7:53 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
Otavio Salvador <otavio@ossystems.com.br> , 09.04.2015 19:46:
On Thu, Apr 9, 2015 at 2:08 PM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
...
> I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto
> dizzy) right now.
>
> Could you solve this build issue?
...
We had some projects using Wayland and it worked fine. What issue you
are having?
The build of qtwayland stops with
qtwayland/5.4.1-r0/qtwayland-opensource-src-5.4.1/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:142:67:
error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType {aka _FBDisplay*}' for argument '1' to 'void* eglGetDisplay(EGLNativeDisplayType)'
integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
and some more errors as you can see here
http://pastebin.com/EbXsdiyF
-
Benjamin Federau
[-- Attachment #2: Type: text/html, Size: 1443 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2015-04-10 7:53 ` Benjamin Federau
@ 2015-04-10 12:49 ` Otavio Salvador
2015-04-10 13:44 ` Benjamin Federau
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-04-10 12:49 UTC (permalink / raw)
To: Benjamin Federau; +Cc: meta-freescale
On Fri, Apr 10, 2015 at 4:53 AM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Otavio Salvador <otavio@ossystems.com.br> , 09.04.2015 19:46:
>
> On Thu, Apr 9, 2015 at 2:08 PM, Benjamin Federau
> <benjamin.federau@basyskom.com> wrote:
>> Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
> ...
>> I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto
>> dizzy) right now.
>>
>> Could you solve this build issue?
> ...
>
> We had some projects using Wayland and it worked fine. What issue you
> are having?
>
>
> The build of qtwayland stops with
>
> qtwayland/5.4.1-r0/qtwayland-opensource-src-5.4.1/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:142:67:
> error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType
> {aka _FBDisplay*}' for argument '1' to 'void*
> eglGetDisplay(EGLNativeDisplayType)'
> integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
>
> and some more errors as you can see here
> http://pastebin.com/EbXsdiyF
Seems like your DISTRO_FEATURES setting is wrong.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2015-04-10 12:49 ` Otavio Salvador
@ 2015-04-10 13:44 ` Benjamin Federau
2015-04-10 13:46 ` Otavio Salvador
0 siblings, 1 reply; 10+ messages in thread
From: Benjamin Federau @ 2015-04-10 13:44 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]
Otavio Salvador <otavio@ossystems.com.br> , 10.04.2015 14:49:
On Fri, Apr 10, 2015 at 4:53 AM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Otavio Salvador <otavio@ossystems.com.br> , 09.04.2015 19:46:
>
> On Thu, Apr 9, 2015 at 2:08 PM, Benjamin Federau
> <benjamin.federau@basyskom.com> wrote:
>> Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
> ...
>> I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto
>> dizzy) right now.
>>
>> Could you solve this build issue?
> ...
>
> We had some projects using Wayland and it worked fine. What issue you
> are having?
>
>
> The build of qtwayland stops with
>
> qtwayland/5.4.1-r0/qtwayland-opensource-src-5.4.1/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:142:67:
> error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType
> {aka _FBDisplay*}' for argument '1' to 'void*
> eglGetDisplay(EGLNativeDisplayType)'
> integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
>
> and some more errors as you can see here
> http://pastebin.com/EbXsdiyF
Seems like your DISTRO_FEATURES setting is wrong.
This came also to my mind. I have added to my local.conf
DISTRO_FEATURES_remove = "x11"
because otherwise the libwayland package from gpu-viv-bin-mx6q won't be build.
Further I thought using the recipes-graphics/images/core-image-weston.bb as a base for my image (recipt in my own layer) which sets
REQUIRED_DISTRO_FEATURES = "wayland"
is enough to enable wayland and it components (especially qtbase and qtwayland).
Do I have to set DISTRO_FEATURES += " wayland" explicitly in my .bb image file or do I miss something else?
Here you can find my image .bb file content:
http://pastebin.com/DUSzEi6L
-
Benjamin Federau
[-- Attachment #2: Type: text/html, Size: 2443 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2015-04-10 13:44 ` Benjamin Federau
@ 2015-04-10 13:46 ` Otavio Salvador
2015-04-13 16:12 ` Benjamin Federau
0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2015-04-10 13:46 UTC (permalink / raw)
To: Benjamin Federau; +Cc: meta-freescale
On Fri, Apr 10, 2015 at 10:44 AM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Otavio Salvador <otavio@ossystems.com.br> , 10.04.2015 14:49:
> Do I have to set DISTRO_FEATURES += " wayland" explicitly in my .bb image
> file or do I miss something else?
Here we go. NEVER set DISTRO_FEATURES in a image.
The DISTRO_FEATURES impact the build and need to be global.
Please also when adding things to DISTRO_FEATURES use _append, not +=,
as the later will not work as you hope.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem compiling QtWayland
2015-04-10 13:46 ` Otavio Salvador
@ 2015-04-13 16:12 ` Benjamin Federau
2015-04-14 10:17 ` Graphic issue with weston + qtwayland Benjamin Federau
0 siblings, 1 reply; 10+ messages in thread
From: Benjamin Federau @ 2015-04-13 16:12 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 980 bytes --]
Otavio Salvador <otavio@ossystems.com.br> , 10.04.2015 15:47:
On Fri, Apr 10, 2015 at 10:44 AM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Otavio Salvador <otavio@ossystems.com.br> , 10.04.2015 14:49:
> Do I have to set DISTRO_FEATURES += " wayland" explicitly in my .bb image
> file or do I miss something else?
Here we go. NEVER set DISTRO_FEATURES in a image.
The DISTRO_FEATURES impact the build and need to be global.
Please also when adding things to DISTRO_FEATURES use _append, not +=,
as the later will not work as you hope.
It looked like I have messed up my build environment.
After a clean build by just setting DISTRO_FEATURES_remove = "x11" in my local.conf (needed for the gpu-viv-bin-mx6q recipt to build the libwayland packages) and removing DISTRO_FEATURES from my image receipt (based on core-image-weston.bb), qtwayland could be build and runs on my device.
Thanks for your help!
-
Benjamin Federau
[-- Attachment #2: Type: text/html, Size: 1522 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-04-15 12:51 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13 11:04 Problem compiling QtWayland Ruben Morgade
2015-04-09 17:08 ` Benjamin Federau
2015-04-09 17:45 ` Otavio Salvador
2015-04-10 7:53 ` Benjamin Federau
2015-04-10 12:49 ` Otavio Salvador
2015-04-10 13:44 ` Benjamin Federau
2015-04-10 13:46 ` Otavio Salvador
2015-04-13 16:12 ` Benjamin Federau
2015-04-14 10:17 ` Graphic issue with weston + qtwayland Benjamin Federau
2015-04-15 12:51 ` Benjamin Federau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.