All of lore.kernel.org
 help / color / mirror / Atom feed
* Build Qt5 with wayland fails
@ 2018-05-29 11:27 Johannes Pointner
  0 siblings, 0 replies; only message in thread
From: Johannes Pointner @ 2018-05-29 11:27 UTC (permalink / raw)
  To: meta-freescale Mailing List, Otavio Salvador

Hello,

my Qt5 build fails with following error message:

 /data/workspace/yocto/poky/sumo/ppt50/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/git/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/qeglfsvivintegration.cpp:
In member function 'virtual void QEglFSVivInt
egration::platformInit()':
| /data/workspace/yocto/poky/sumo/ppt50/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/git/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/qeglfsvivintegration.cpp:68:41:
error: invalid conversion from 'void*'
to 'EGLNativeDisplayType {aka wl_display*}' [-fpermissive]
|      mNativeDisplay = fbGetDisplayByIndex(framebufferIndex());

This happens because of the used pkg-config in case of wayland which
sets the following flags:
Cflags: -I${includedir} -DLINUX -DEGL_API_FB -DWL_EGL_PLATFORM
and WL_EGL_PLATFORM sets
#elif defined(WL_EGL_PLATFORM) /* Wayland */
typedef struct wl_display *   EGLNativeDisplayType;
typedef struct wl_egl_window *EGLNativeWindowType;
typedef struct wl_egl_pixmap *EGLNativePixmapType;

For Qt5 with wayland it seems the needed pkg-config would be
egl_linuxfb.pc and not egl_wayland.pc.

But I don't know if this is the right solution.

Cheers,
Hannes


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-29 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 11:27 Build Qt5 with wayland fails Johannes Pointner

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.