Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Fix to Qt5base-build
@ 2013-09-17  7:37 Espen Frimann Koren
  2013-09-17  9:53 ` [Buildroot] [PATCH v1] Fix EGL support in qt5base Jérôme Pouiller
  0 siblings, 1 reply; 6+ messages in thread
From: Espen Frimann Koren @ 2013-09-17  7:37 UTC (permalink / raw)
  To: buildroot

Hi.

I have found a solution to why Qt5 does not find either OpenGL ES2 or EGL
during configuration.

In the file package/qt5/qt5base/qt5base-mkspecs-files.patch, two files are
created in output/build/qt5base-5.0.2/mkspecs/devices/linux-buildroot-g++.
In my opinion the following lines must be included in the file (from the
patch):

QMAKE_LIBS_EGL         += -lEGL
QMAKE_LIBS_OPENGL_ES2  += -lEGL -lGAL

QMAKE_CFLAGS           += -DEGL_API_FB=1
QMAKE_CXXFLAGS         += -DEGL_API_FB=1
QMAKE_CFLAGS_DEBUG     += -DEGL_API_FB=1
QMAKE_CXXFLAGS_DEBUG   += -DEGL_API_FB=1

I cannot commit to the buildroot tree, so someone have to do this. There
are other issues in the corresponding file in
output/build/qt5base-5.0.2/mkspecs/devices/linux-imx6-g++/qmake.conf, which
is provided by Qt themselves, that may need to be taken into consideration,
for instance

EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_imx6.cpp

Maybe there should be possible to select Qt device mkspec in the make
menuconfig-system?

Sp1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130917/c46171b6/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-18 16:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17  7:37 [Buildroot] Fix to Qt5base-build Espen Frimann Koren
2013-09-17  9:53 ` [Buildroot] [PATCH v1] Fix EGL support in qt5base Jérôme Pouiller
2013-09-17 11:35   ` Fatih Aşıcı
2013-09-17 18:33   ` Thomas Petazzoni
2013-09-18 11:13     ` Jérôme Pouiller
2013-09-18 16:27       ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox