All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Got errors when I tried to build rootfs with wayland, qt5 on an i.MX 6dl board
@ 2019-06-04  1:46 Yang Zhonghua
  0 siblings, 0 replies; only message in thread
From: Yang Zhonghua @ 2019-06-04  1:46 UTC (permalink / raw)
  To: buildroot

Hey guys,

Here are what I hope,
1. on an i.MX 6dl/6q board
2. wayland backend, weston
3. a low kernel version, 4.1.15
4. qt5, at least 5.9
5. run a qt application via wayland


Here are my steps,
Thanks for y_morin first, who helped me in freenode #buildroot!
1. chosen 2019.02.2 for selecting BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
2. chosen configs/imx6-sabresd_qt5_defconfig to make
3. changed toolchain -> C library from uClibc-ng to glibc
4. selected Target packages -> Hardware handling -> Freescale i.MX
libraries -> imx-gpu-viv -> Output option(wayland)
5. make

Then I got errors as follows,
qeglfsvivintegration.cpp: In member function ?virtual void
QEglFSVivIntegration::platformInit()?:
qeglfsvivintegration.cpp:68:41: error: invalid conversion from ?void*? to
?EGLNativeDisplayType {aka wl_display*}? [-fpermissive]
     mNativeDisplay = fbGetDisplayByIndex(framebufferIndex());
                      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
qeglfsvivintegration.cpp: In member function ?virtual wl_egl_window*
QEglFSVivIntegration::createNativeWindow(QPlatformWindow*, const QSize&,
const QSurfaceFormat&)?:
qeglfsvivintegration.cpp:91:51: error: invalid conversion from ?void*? to
?EGLNativeWindowType {aka wl_egl_window*}? [-fpermissive]
     EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 0,
size.width(), size.height());

 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:1273: recipe for target '.obj/qeglfsvivintegration.o' failed

Could someone tell me how to solve the above errors?
Do I need change some qt code?
Should I change some configs?
My .config file link is https://pastebin.com/rJceBU0L

looking forward to your reply!

happy2discover at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190604/405d74f9/attachment.html>

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

only message in thread, other threads:[~2019-06-04  1:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04  1:46 [Buildroot] Got errors when I tried to build rootfs with wayland, qt5 on an i.MX 6dl board Yang Zhonghua

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.