[Buildroot] Building Qt5 Declarative on nitrogen6x with buildroot 2013.08
Fatih Aşıcı
fatih.asici at gmail.com
Mon Sep 16 13:08:40 UTC 2013
Hi,
> I see a challenge here in that the linux-buildroot-g++-"device" that
> buildroot "generates" must have some platform dependent stuff in it.
> How this is done in buildroot, I do not know, but two things must into
> the qmake.conf file of linux-buildroot-g++:
>
>
> - the EGL and GAL libraries (in the imx6-file it is:
> QMAKE_LIBS_OPENGL_ES2 += -lEGL -lGAL)
>
> - the symbol EGL_API_FB must be defined (in the imx6-file it is:
> IMX6_CFLAGS = -DEGL_API_FB=1)
>
> I understand that it cannot be put into the patch-file, since the EGL
> and GAL libraries are interesting for imx6 only.
>
qt5 packages use pkg-config to get EGL flags. See
rpi-userland/rpi-userland-add-pkgconfig-files.patch.
A similar patch is probably needed for the package providing EGL
libraries to nitrogen6x.
More information about the buildroot
mailing list