All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5] Building and running issues on Raspberry Pi
@ 2014-05-13 10:36 Felix01 Fischer
  2014-05-23 10:17 ` Felix01 Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Felix01 Fischer @ 2014-05-13 10:36 UTC (permalink / raw)
  To: openembedded-devel

Hello,
I'm trying to get Qt5 running on a raspberry pi using yocto and I'm facing 
two problems:
I'm using up to date layers from poky, meta-raspberrypi and meta-qt5

First, I have to add the following to local.conf (or a 
qtbase_5.X.Y.bbappend file)

QT_CONFIG_FLAGS += " \
    -device linux-rasp-pi-g++ \
    -device-option 
CROSS_COMPILE=$PATH_TO_SYSROOT_DIR/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- 
\
    -I$PATH_TO_SYSROOT_DIR/raspberrypi/usr/include/interface/vcos/pthreads 
\
"

then I get the following error while "bitbake qtbase":

"DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function qmake5_base_preconfigure
DEBUG: Shell function qmake5_base_preconfigure finished
DEBUG: Executing shell function do_configure

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

You have already accepted the terms of the  license.

Performing shadow build...
Preparing build tree...
Symbol visibility control disabled.
-o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
/media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/config.tests/unix/bsymbolic_functions.test: 
line 14: -o: command not found
Symbolic function binding disabled.
-reduce-relocations was requested but this compiler does not support it
Re-run configure with -v for more information
WARNING: 
/media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/run.do_configure.5533:1 
exit 1 from
 
/media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/configure 
-v -dont-process -opensource -confirm-license -sysroot 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi 
-no-gcc-sysroot -prefix /usr -bindir /usr/bin/qt5 -libdir /usr/lib 
-datadir /usr/share/qt5 -sysconfdir /etc/qt5 -docdir /usr/share/doc/qt5 
-headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -libexecdir 
/usr/lib/qt5/libexec -plugindir /usr/lib/qt5/plugins -importdir 
/usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -translationdir 
/usr/share/qt5/translations -testsdir /usr/share/qt5/tests -examplesdir 
/usr/share/qt5/examples -hostbindir /usr/bin/qt5 -hostdatadir 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/qt5 
-external-hostbindir 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/bin/qt5 
-platform 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++ 
-xplatform linux-oe-g++ -reduce-relocations -shared -silent -no-pch 
-no-rpath -pkg-config -no-accessibility -no-alsa -dbus -directfb -evdev 
-nomake examples -no-fontconfig -freetype -opengl desktop -no-eglfs 
-opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -no-icu -system-libjpeg 
-no-kms -system-libpng -make libs -linuxfb -no-mitshm -no-mtdev -no-nis 
-openssl-linked -no-openvg -qt-pcre -pulseaudio -release -no-sm 
-no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc 
-no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests 
-make tools -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes 
-no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender 
-no-xshape -no-xsync -no-xvideo -system-zlib -device linux-rasp-pi-g++ 
-device-option 
CROSS_COMPILE=/media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- 
-I/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/include/interface/vcos/pthreads
ERROR: Function failed: do_configure (log file is located at 
/media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/temp/log.do_configure.5533)"



A look into 
build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/config.tests/unix/bsymbolic_functions.test

tells me that the "COMPILER" and "SYSROOT_FLAG" variables are empty. I 
don't know what to do here.
My workaround is to remove "-reduce-relocations" from QT_CONFIG_FLAGS in 
qtbase.inc

After that the build succeeds without problems.
But, when I boot up my image and try to run a Qt5 Application from the 
console I always get the same error:

"EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and 
QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
libpng warning: iCCP: Not recognizing known sRGB profile that has been 
edited 
EGL Error : Could not create the egl surface: error = 0x300b"

I'm stuck with this error and don't really know what to do.

Kind regards,

Felix Fischer

Student Employee (VC-I42)
Vehicle Cockpit - HMI Software and Code generation

IAV GmbH
Carnotstr. 1
10587 BERLIN
GERMANY

Phone: +49 30 3997-89540
Fax:       +49 30 3997-89411
E-Mail:  <mailto:felix01.fischer@iav.de>
Internet: http://www.iav.com

Sitz/Registered Office: Berlin, 
Registergericht/Registration Court: Amtsgericht Charlottenburg, 
Registernummer/Company Registration Number: HRB 21 280, 
Gesch&#65533;ftsf&#65533;hrer/Managing Directors: Kurt Blumenr&#65533;der, Michael Schubert, 
Dr. R&#65533;diger Goyk
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. 
Harald Ludanek
From paul.eggleton@linux.intel.com  Tue May 13 11:06:38 2014
Return-Path: <paul.eggleton@linux.intel.com>
X-Original-To: openembedded-devel@lists.openembedded.org
Delivered-To: openembedded-devel@lists.openembedded.org
Received: from mga03.intel.com (unknown [143.182.124.21])
	by mail.openembedded.org (Postfix) with ESMTP id 3D992605B2
	for <openembedded-devel@lists.openembedded.org>;
	Tue, 13 May 2014 11:06:29 +0000 (UTC)
Received: from azsmga001.ch.intel.com ([10.2.17.19])
	by azsmga101.ch.intel.com with ESMTP; 13 May 2014 04:06:03 -0700
X-ExtLoop1: 1
X-IronPort-AV: E

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

* [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-13 10:36 [meta-qt5] Building and running issues on Raspberry Pi Felix01 Fischer
@ 2014-05-23 10:17 ` Felix01 Fischer
  2014-05-23 12:41   ` Diego Sueiro
  0 siblings, 1 reply; 11+ messages in thread
From: Felix01 Fischer @ 2014-05-23 10:17 UTC (permalink / raw)
  To: openembedded-devel

No suggestions?





openembedded-devel-bounces@lists.openembedded.org schrieb am 13.05.2014 
12:36:19:

> Von: Felix01 Fischer <felix01.fischer@iav.de>
> An: openembedded-devel@lists.openembedded.org, 
> Datum: 13.05.2014 15:11
> Betreff: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> 
> Hello,
> I'm trying to get Qt5 running on a raspberry pi using yocto and I'm 
facing 
> two problems:
> I'm using up to date layers from poky, meta-raspberrypi and meta-qt5
> 
> First, I have to add the following to local.conf (or a 
> qtbase_5.X.Y.bbappend file)
> 
> QT_CONFIG_FLAGS += " \
>     -device linux-rasp-pi-g++ \
>     -device-option 
> CROSS_COMPILE=$PATH_TO_SYSROOT_DIR/x86_64-linux/usr/bin/arm-poky-
> linux-gnueabi/arm-poky-linux-gnueabi- 
> \
> -I$PATH_TO_SYSROOT_DIR/raspberrypi/usr/include/interface/vcos/pthreads 
> \
> "
> 
> then I get the following error while "bitbake qtbase":
> 
> "DEBUG: Executing python function sysroot_cleansstate
> DEBUG: Python function sysroot_cleansstate finished
> DEBUG: Executing shell function qmake5_base_preconfigure
> DEBUG: Shell function qmake5_base_preconfigure finished
> DEBUG: Executing shell function do_configure
> 
> This is the Qt Open Source Edition.
> 
> You are licensed to use this software under the terms of
> the Lesser GNU General Public License (LGPL) versions 2.1.
> 
> You have already accepted the terms of the  license.
> 
> Performing shadow build...
> Preparing build tree...
> Symbol visibility control disabled.
> -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC 
bsymbolic_functions.c
> /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/config.tests/
> unix/bsymbolic_functions.test: 
> line 14: -o: command not found
> Symbolic function binding disabled.
> -reduce-relocations was requested but this compiler does not support it
> Re-run configure with -v for more information
> WARNING: 
> /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> gnueabi/qtbase/5.2.1-r0/temp/run.do_configure.5533:1 
> exit 1 from
> 
> /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/configure 
> -v -dont-process -opensource -confirm-license -sysroot 
> /media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi 
> -no-gcc-sysroot -prefix /usr -bindir /usr/bin/qt5 -libdir /usr/lib 
> -datadir /usr/share/qt5 -sysconfdir /etc/qt5 -docdir /usr/share/doc/qt5 
> -headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -libexecdir 
> /usr/lib/qt5/libexec -plugindir /usr/lib/qt5/plugins -importdir 
> /usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -translationdir 
> /usr/share/qt5/translations -testsdir /usr/share/qt5/tests -examplesdir 
> /usr/share/qt5/examples -hostbindir /usr/bin/qt5 -hostdatadir 
> /media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/qt5 
> -external-hostbindir 
> /media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/bin/qt5 

> -platform 
> /media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/
> lib/qt5/mkspecs/linux-oe-g++ 
> -xplatform linux-oe-g++ -reduce-relocations -shared -silent -no-pch 
> -no-rpath -pkg-config -no-accessibility -no-alsa -dbus -directfb -evdev 
> -nomake examples -no-fontconfig -freetype -opengl desktop -no-eglfs 
> -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -no-icu 
-system-libjpeg 
> -no-kms -system-libpng -make libs -linuxfb -no-mitshm -no-mtdev -no-nis 
> -openssl-linked -no-openvg -qt-pcre -pulseaudio -release -no-sm 
> -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc 
> -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests 
> -make tools -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes 
> -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender 
> -no-xshape -no-xsync -no-xvideo -system-zlib -device linux-rasp-pi-g++ 
> -device-option 
> CROSS_COMPILE=/media/yocto_build/qt5-raspb/build/tmp/sysroots/
> x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- 
> -I/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/
> include/interface/vcos/pthreads
> ERROR: Function failed: do_configure (log file is located at 
> /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> gnueabi/qtbase/5.2.1-r0/temp/log.do_configure.5533)"
> 
> 
> 
> A look into 
> build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/
> qtbase-opensource-src-5.2.1/config.tests/unix/bsymbolic_functions.test
> 
> tells me that the "COMPILER" and "SYSROOT_FLAG" variables are empty. I 
> don't know what to do here.
> My workaround is to remove "-reduce-relocations" from QT_CONFIG_FLAGS in 

> qtbase.inc
> 
> After that the build succeeds without problems.
> But, when I boot up my image and try to run a Qt5 Application from the 
> console I always get the same error:
> 
> "EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
> EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and 
> QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
> libpng warning: iCCP: Not recognizing known sRGB profile that has been 
> edited 
> EGL Error : Could not create the egl surface: error = 0x300b"
> 
> I'm stuck with this error and don't really know what to do.
> 
> Kind regards,
> 
> Felix Fischer
> 
> Student Employee (VC-I42)
> Vehicle Cockpit - HMI Software and Code generation
> 
> IAV GmbH
> Carnotstr. 1
> 10587 BERLIN
> GERMANY
> 
> Phone: +49 30 3997-89540
> Fax:       +49 30 3997-89411
> E-Mail:  <mailto:felix01.fischer@iav.de>
> Internet: http://www.iav.com
> 
> Sitz/Registered Office: Berlin, 
> Registergericht/Registration Court: Amtsgericht Charlottenburg, 
> Registernummer/Company Registration Number: HRB 21 280, 
> Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael Schubert, 
> Dr. Rüdiger Goyk
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. 
> Harald Ludanek
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-23 10:17 ` Felix01 Fischer
@ 2014-05-23 12:41   ` Diego Sueiro
  2014-05-27 10:08     ` Felix01 Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Diego Sueiro @ 2014-05-23 12:41 UTC (permalink / raw)
  To: openembedded-devel

Are u running on X11 environment?

Do you have mali module and lib onto your system? I'm not sure if
meta-raspberrypi provides mali support. If not you fave to use a X11 image.

I had this same problem in another machine and I applied this patch to get
Cinematics Experience working with eglfs.:

Index:
qtbase-opensource-src-5.2.1/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp
===================================================================
---
qtbase-opensource-src-5.2.1.orig/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp
  2014-02-01 18:37:36.000000000 -0200
+++
qtbase-opensource-src-5.2.1/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp
   2014-05-15 17:04:19.117306579 -0300
@@ -251,7 +251,12 @@
     Q_UNUSED(platformWindow);
     Q_UNUSED(size);
     Q_UNUSED(format);
-    return 0;
+//    return 0;
+   static struct mali_native_window native_window = {
+        .width = (short unsigned int)size.width(),
+        .height = (short unsigned int)size.height(),
+    };
+    return &native_window;
 }

 void QEglFSHooks::destroyNativeWindow(EGLNativeWindowType window)


This patch comes from this link:
http://wickwire2099.blogspot.com.br/2014/02/qt5-on-cubieboard-a10a20.html


Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/


On Fri, May 23, 2014 at 7:17 AM, Felix01 Fischer <felix01.fischer@iav.de>wrote:

> No suggestions?
>
>
>
>
>
> openembedded-devel-bounces@lists.openembedded.org schrieb am 13.05.2014
> 12:36:19:
>
> > Von: Felix01 Fischer <felix01.fischer@iav.de>
> > An: openembedded-devel@lists.openembedded.org,
> > Datum: 13.05.2014 15:11
> > Betreff: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> >
> > Hello,
> > I'm trying to get Qt5 running on a raspberry pi using yocto and I'm
> facing
> > two problems:
> > I'm using up to date layers from poky, meta-raspberrypi and meta-qt5
> >
> > First, I have to add the following to local.conf (or a
> > qtbase_5.X.Y.bbappend file)
> >
> > QT_CONFIG_FLAGS += " \
> >     -device linux-rasp-pi-g++ \
> >     -device-option
> > CROSS_COMPILE=$PATH_TO_SYSROOT_DIR/x86_64-linux/usr/bin/arm-poky-
> > linux-gnueabi/arm-poky-linux-gnueabi-
> > \
> > -I$PATH_TO_SYSROOT_DIR/raspberrypi/usr/include/interface/vcos/pthreads
> > \
> > "
> >
> > then I get the following error while "bitbake qtbase":
> >
> > "DEBUG: Executing python function sysroot_cleansstate
> > DEBUG: Python function sysroot_cleansstate finished
> > DEBUG: Executing shell function qmake5_base_preconfigure
> > DEBUG: Shell function qmake5_base_preconfigure finished
> > DEBUG: Executing shell function do_configure
> >
> > This is the Qt Open Source Edition.
> >
> > You are licensed to use this software under the terms of
> > the Lesser GNU General Public License (LGPL) versions 2.1.
> >
> > You have already accepted the terms of the  license.
> >
> > Performing shadow build...
> > Preparing build tree...
> > Symbol visibility control disabled.
> > -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC
> bsymbolic_functions.c
> > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/config.tests/
> > unix/bsymbolic_functions.test:
> > line 14: -o: command not found
> > Symbolic function binding disabled.
> > -reduce-relocations was requested but this compiler does not support it
> > Re-run configure with -v for more information
> > WARNING:
> > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > gnueabi/qtbase/5.2.1-r0/temp/run.do_configure.5533:1
> > exit 1 from
> >
> > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/configure
> > -v -dont-process -opensource -confirm-license -sysroot
> > /media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi
> > -no-gcc-sysroot -prefix /usr -bindir /usr/bin/qt5 -libdir /usr/lib
> > -datadir /usr/share/qt5 -sysconfdir /etc/qt5 -docdir /usr/share/doc/qt5
> > -headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -libexecdir
> > /usr/lib/qt5/libexec -plugindir /usr/lib/qt5/plugins -importdir
> > /usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -translationdir
> > /usr/share/qt5/translations -testsdir /usr/share/qt5/tests -examplesdir
> > /usr/share/qt5/examples -hostbindir /usr/bin/qt5 -hostdatadir
> > /media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/qt5
> > -external-hostbindir
> > /media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/bin/qt5
>
> > -platform
> > /media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/
> > lib/qt5/mkspecs/linux-oe-g++
> > -xplatform linux-oe-g++ -reduce-relocations -shared -silent -no-pch
> > -no-rpath -pkg-config -no-accessibility -no-alsa -dbus -directfb -evdev
> > -nomake examples -no-fontconfig -freetype -opengl desktop -no-eglfs
> > -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -no-icu
> -system-libjpeg
> > -no-kms -system-libpng -make libs -linuxfb -no-mitshm -no-mtdev -no-nis
> > -openssl-linked -no-openvg -qt-pcre -pulseaudio -release -no-sm
> > -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc
> > -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests
> > -make tools -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes
> > -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender
> > -no-xshape -no-xsync -no-xvideo -system-zlib -device linux-rasp-pi-g++
> > -device-option
> > CROSS_COMPILE=/media/yocto_build/qt5-raspb/build/tmp/sysroots/
> > x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
> > -I/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/
> > include/interface/vcos/pthreads
> > ERROR: Function failed: do_configure (log file is located at
> > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > gnueabi/qtbase/5.2.1-r0/temp/log.do_configure.5533)"
> >
> >
> >
> > A look into
> > build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/
> > qtbase-opensource-src-5.2.1/config.tests/unix/bsymbolic_functions.test
> >
> > tells me that the "COMPILER" and "SYSROOT_FLAG" variables are empty. I
> > don't know what to do here.
> > My workaround is to remove "-reduce-relocations" from QT_CONFIG_FLAGS in
>
> > qtbase.inc
> >
> > After that the build succeeds without problems.
> > But, when I boot up my image and try to run a Qt5 Application from the
> > console I always get the same error:
> >
> > "EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
> > EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and
> > QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
> > libpng warning: iCCP: Not recognizing known sRGB profile that has been
> > edited
> > EGL Error : Could not create the egl surface: error = 0x300b"
> >
> > I'm stuck with this error and don't really know what to do.
> >
> > Kind regards,
> >
> > Felix Fischer
> >
> > Student Employee (VC-I42)
> > Vehicle Cockpit - HMI Software and Code generation
> >
> > IAV GmbH
> > Carnotstr. 1
> > 10587 BERLIN
> > GERMANY
> >
> > Phone: +49 30 3997-89540
> > Fax:       +49 30 3997-89411
> > E-Mail:  <mailto:felix01.fischer@iav.de>
> > Internet: http://www.iav.com
> >
> > Sitz/Registered Office: Berlin,
> > Registergericht/Registration Court: Amtsgericht Charlottenburg,
> > Registernummer/Company Registration Number: HRB 21 280,
> > Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael Schubert,
> > Dr. Rüdiger Goyk
> > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr.
> > Harald Ludanek
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

* Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-23 12:41   ` Diego Sueiro
@ 2014-05-27 10:08     ` Felix01 Fischer
  2014-05-27 10:40       ` Diego Sueiro
  0 siblings, 1 reply; 11+ messages in thread
From: Felix01 Fischer @ 2014-05-27 10:08 UTC (permalink / raw)
  To: openembedded-devel

It's not possible to have hardware-accelerated QT on the raspberry pi when 
you are running an X11 environment, therefore I want to use eglfs 
directly.

The raspberry pi doesn't have a mali graphics core, AFAIK.

Nevertheless, applying your patch gives me an error while compiling.

"
[...]/qeglfshooks_stub.cpp: In member function 'virtual void* 
QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const 
QSurfaceFormat&)':
[...]/qeglfshooks_stub.cpp:256:38: error: variable 
'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const 
QSurfaceFormat&)::mali_native_window native_window' has initializer but 
incomplete type
     static struct mali_native_window native_window = {
                                      ^
[...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of non-void 
function [-Wreturn-type]
 }
 ^
make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
"

Any suggestions?




openembedded-devel-bounces@lists.openembedded.org schrieb am 23.05.2014 
14:41:45:

> Von: Diego Sueiro <diego.sueiro@gmail.com>
> An: openembedded-devel@lists.openembedded.org, 
> Datum: 23.05.2014 15:15
> Betreff: Re: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> 
> Are u running on X11 environment?
> 
> Do you have mali module and lib onto your system? I'm not sure if
> meta-raspberrypi provides mali support. If not you fave to use a X11 
image.
> 
> I had this same problem in another machine and I applied this patch to 
get
> Cinematics Experience working with eglfs.:
> 
> Index:
> 
qtbase-opensource-src-5.2.1/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp
> ===================================================================
> ---
> qtbase-opensource-src-5.2.1.orig/src/plugins/platforms/eglfs/
> qeglfshooks_stub.cpp
>   2014-02-01 18:37:36.000000000 -0200
> +++
> 
qtbase-opensource-src-5.2.1/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp
>    2014-05-15 17:04:19.117306579 -0300
> @@ -251,7 +251,12 @@
>      Q_UNUSED(platformWindow);
>      Q_UNUSED(size);
>      Q_UNUSED(format);
> -    return 0;
> +//    return 0;
> +   static struct mali_native_window native_window = {
> +        .width = (short unsigned int)size.width(),
> +        .height = (short unsigned int)size.height(),
> +    };
> +    return &native_window;
>  }
> 
>  void QEglFSHooks::destroyNativeWindow(EGLNativeWindowType window)
> 
> 
> This patch comes from this link:
> 
http://wickwire2099.blogspot.com.br/2014/02/qt5-on-cubieboard-a10a20.html
> 
> 
> Regards,
> 
> --
> *dS
> Diego Sueiro
> 
> Administrador do Embarcados
> www.embarcados.com.br<http://www.embarcados.com.br/?
> utm_source=assinatura_diego&utm_medium=e-
> mail&utm_campaign=Assinatura%20Email%20Diego>
> 
> /*long live rock 'n roll*/
> 
> 
> On Fri, May 23, 2014 at 7:17 AM, Felix01 Fischer 
> <felix01.fischer@iav.de>wrote:
> 
> > No suggestions?
> >
> >
> >
> >
> >
> > openembedded-devel-bounces@lists.openembedded.org schrieb am 
13.05.2014
> > 12:36:19:
> >
> > > Von: Felix01 Fischer <felix01.fischer@iav.de>
> > > An: openembedded-devel@lists.openembedded.org,
> > > Datum: 13.05.2014 15:11
> > > Betreff: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > >
> > > Hello,
> > > I'm trying to get Qt5 running on a raspberry pi using yocto and I'm
> > facing
> > > two problems:
> > > I'm using up to date layers from poky, meta-raspberrypi and meta-qt5
> > >
> > > First, I have to add the following to local.conf (or a
> > > qtbase_5.X.Y.bbappend file)
> > >
> > > QT_CONFIG_FLAGS += " \
> > >     -device linux-rasp-pi-g++ \
> > >     -device-option
> > > CROSS_COMPILE=$PATH_TO_SYSROOT_DIR/x86_64-linux/usr/bin/arm-poky-
> > > linux-gnueabi/arm-poky-linux-gnueabi-
> > > \
> > > 
-I$PATH_TO_SYSROOT_DIR/raspberrypi/usr/include/interface/vcos/pthreads
> > > \
> > > "
> > >
> > > then I get the following error while "bitbake qtbase":
> > >
> > > "DEBUG: Executing python function sysroot_cleansstate
> > > DEBUG: Python function sysroot_cleansstate finished
> > > DEBUG: Executing shell function qmake5_base_preconfigure
> > > DEBUG: Shell function qmake5_base_preconfigure finished
> > > DEBUG: Executing shell function do_configure
> > >
> > > This is the Qt Open Source Edition.
> > >
> > > You are licensed to use this software under the terms of
> > > the Lesser GNU General Public License (LGPL) versions 2.1.
> > >
> > > You have already accepted the terms of the  license.
> > >
> > > Performing shadow build...
> > > Preparing build tree...
> > > Symbol visibility control disabled.
> > > -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC
> > bsymbolic_functions.c
> > > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > > gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/config.tests/
> > > unix/bsymbolic_functions.test:
> > > line 14: -o: command not found
> > > Symbolic function binding disabled.
> > > -reduce-relocations was requested but this compiler does not support 
it
> > > Re-run configure with -v for more information
> > > WARNING:
> > > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > > gnueabi/qtbase/5.2.1-r0/temp/run.do_configure.5533:1
> > > exit 1 from
> > >
> > > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > > gnueabi/qtbase/5.2.1-r0/qtbase-opensource-src-5.2.1/configure
> > > -v -dont-process -opensource -confirm-license -sysroot
> > > /media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi
> > > -no-gcc-sysroot -prefix /usr -bindir /usr/bin/qt5 -libdir /usr/lib
> > > -datadir /usr/share/qt5 -sysconfdir /etc/qt5 -docdir 
/usr/share/doc/qt5
> > > -headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -libexecdir
> > > /usr/lib/qt5/libexec -plugindir /usr/lib/qt5/plugins -importdir
> > > /usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -translationdir
> > > /usr/share/qt5/translations -testsdir /usr/share/qt5/tests 
-examplesdir
> > > /usr/share/qt5/examples -hostbindir /usr/bin/qt5 -hostdatadir
> > > 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/lib/qt5
> > > -external-hostbindir
> > > 
/media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/bin/qt5
> >
> > > -platform
> > > /media/yocto_build/qt5-raspb/build/tmp/sysroots/x86_64-linux/usr/
> > > lib/qt5/mkspecs/linux-oe-g++
> > > -xplatform linux-oe-g++ -reduce-relocations -shared -silent -no-pch
> > > -no-rpath -pkg-config -no-accessibility -no-alsa -dbus -directfb 
-evdev
> > > -nomake examples -no-fontconfig -freetype -opengl desktop -no-eglfs
> > > -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -no-icu
> > -system-libjpeg
> > > -no-kms -system-libpng -make libs -linuxfb -no-mitshm -no-mtdev 
-no-nis
> > > -openssl-linked -no-openvg -qt-pcre -pulseaudio -release -no-sm
> > > -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc
> > > -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake 
tests
> > > -make tools -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes
> > > -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender
> > > -no-xshape -no-xsync -no-xvideo -system-zlib -device 
linux-rasp-pi-g++
> > > -device-option
> > > CROSS_COMPILE=/media/yocto_build/qt5-raspb/build/tmp/sysroots/
> > > x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
> > > -I/media/yocto_build/qt5-raspb/build/tmp/sysroots/raspberrypi/usr/
> > > include/interface/vcos/pthreads
> > > ERROR: Function failed: do_configure (log file is located at
> > > /media/yocto_build/qt5-raspb/build/tmp/work/raspberrypi-poky-linux-
> > > gnueabi/qtbase/5.2.1-r0/temp/log.do_configure.5533)"
> > >
> > >
> > >
> > > A look into
> > > build/tmp/work/raspberrypi-poky-linux-gnueabi/qtbase/5.2.1-r0/
> > > 
qtbase-opensource-src-5.2.1/config.tests/unix/bsymbolic_functions.test
> > >
> > > tells me that the "COMPILER" and "SYSROOT_FLAG" variables are empty. 
I
> > > don't know what to do here.
> > > My workaround is to remove "-reduce-relocations" from 
QT_CONFIG_FLAGS in
> >
> > > qtbase.inc
> > >
> > > After that the build succeeds without problems.
> > > But, when I boot up my image and try to run a Qt5 Application from 
the
> > > console I always get the same error:
> > >
> > > "EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
> > > EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and
> > > QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
> > > libpng warning: iCCP: Not recognizing known sRGB profile that has 
been
> > > edited
> > > EGL Error : Could not create the egl surface: error = 0x300b"
> > >
> > > I'm stuck with this error and don't really know what to do.
> > >
> > > Kind regards,
> > >
> > > Felix Fischer
> > >
> > > Student Employee (VC-I42)
> > > Vehicle Cockpit - HMI Software and Code generation
> > >
> > > IAV GmbH
> > > Carnotstr. 1
> > > 10587 BERLIN
> > > GERMANY
> > >
> > > Phone: +49 30 3997-89540
> > > Fax:       +49 30 3997-89411
> > > E-Mail:  <mailto:felix01.fischer@iav.de>
> > > Internet: http://www.iav.com
> > >
> > > Sitz/Registered Office: Berlin,
> > > Registergericht/Registration Court: Amtsgericht Charlottenburg,
> > > Registernummer/Company Registration Number: HRB 21 280,
> > > Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael 
Schubert,
> > > Dr. Rüdiger Goyk
> > > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: 
Dr.
> > > Harald Ludanek
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-27 10:08     ` Felix01 Fischer
@ 2014-05-27 10:40       ` Diego Sueiro
  2014-05-27 12:54         ` Antwort: " Felix01 Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Diego Sueiro @ 2014-05-27 10:40 UTC (permalink / raw)
  To: openembedded-devel

On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer <felix01.fischer@iav.de>wrote:

> It's not possible to have hardware-accelerated QT on the raspberry pi when
> you are running an X11 environment, therefore I want to use eglfs
> directly.
>
> The raspberry pi doesn't have a mali graphics core, AFAIK.
>

You are right. You should have to use userland package to get GLESv2:
http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-graphics/userland/userland_git.bb


>
> Nevertheless, applying your patch gives me an error while compiling.
>
> "
> [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> QSurfaceFormat&)':
> [...]/qeglfshooks_stub.cpp:256:38: error: variable
> 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> QSurfaceFormat&)::mali_native_window native_window' has initializer but
> incomplete type
>      static struct mali_native_window native_window = {
>                                       ^
> [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of non-void
> function [-Wreturn-type]
>  }
>  ^
> make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> "
>
> Any suggestions?
>

This patch just works for mali accelerated hardware.


Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/


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

* Antwort: Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-27 10:40       ` Diego Sueiro
@ 2014-05-27 12:54         ` Felix01 Fischer
  2014-05-27 12:58           ` Diego Sueiro
  0 siblings, 1 reply; 11+ messages in thread
From: Felix01 Fischer @ 2014-05-27 12:54 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel-bounces

First, thank you for your quick answer!
Please find my comments inline.


> Von: Diego Sueiro <diego.sueiro@gmail.com>
> An: openembedded-devel@lists.openembedded.org, 
> Datum: 27.05.2014 12:41
> Betreff: Re: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> 
> On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer 
> <felix01.fischer@iav.de>wrote:
> 
> > It's not possible to have hardware-accelerated QT on the raspberry pi 
when
> > you are running an X11 environment, therefore I want to use eglfs
> > directly.
> >
> > The raspberry pi doesn't have a mali graphics core, AFAIK.
> >
> 
> You are right. You should have to use userland package to get GLESv2:
> http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> graphics/userland/userland_git.bb
> 

I'm using this recipe and I think it's cooked into the image by default.
Just to be sure I will do another image with userland added via local.conf
I think if this would be missing I should get another error code, when 
trying to start a Qt Programm


> 
> >
> > Nevertheless, applying your patch gives me an error while compiling.
> >
> > "
> > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> > QSurfaceFormat&)':
> > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> > QSurfaceFormat&)::mali_native_window native_window' has initializer 
but
> > incomplete type
> >      static struct mali_native_window native_window = {
> >                                       ^
> > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of 
non-void
> > function [-Wreturn-type]
> >  }
> >  ^
> > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > "
> >
> > Any suggestions?
> >
> 
> This patch just works for mali accelerated hardware.
> 

I'm just desperate to get it working, I had no hope it would ;-)



> 
> Regards,
> 
> --
> *dS
> Diego Sueiro
> 
> Administrador do Embarcados
> www.embarcados.com.br<http://www.embarcados.com.br/?
> utm_source=assinatura_diego&utm_medium=e-
> mail&utm_campaign=Assinatura%20Email%20Diego>
> 
> /*long live rock 'n roll*/
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: Antwort: Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-27 12:54         ` Antwort: " Felix01 Fischer
@ 2014-05-27 12:58           ` Diego Sueiro
  2014-05-27 16:31             ` Antwort: " Felix01 Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Diego Sueiro @ 2014-05-27 12:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel-bounces

On Tue, May 27, 2014 at 9:54 AM, Felix01 Fischer <felix01.fischer@iav.de>wrote:

> First, thank you for your quick answer!
> Please find my comments inline.
>
>
> > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > An: openembedded-devel@lists.openembedded.org,
> > Datum: 27.05.2014 12:41
> > Betreff: Re: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> >
> > On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer
> > <felix01.fischer@iav.de>wrote:
> >
> > > It's not possible to have hardware-accelerated QT on the raspberry pi
> when
> > > you are running an X11 environment, therefore I want to use eglfs
> > > directly.
> > >
> > > The raspberry pi doesn't have a mali graphics core, AFAIK.
> > >
> >
> > You are right. You should have to use userland package to get GLESv2:
> > http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> > graphics/userland/userland_git.bb
> >
>
> I'm using this recipe and I think it's cooked into the image by default.
> Just to be sure I will do another image with userland added via local.conf
> I think if this would be missing I should get another error code, when
> trying to start a Qt Programm
>
>
> >
> > >
> > > Nevertheless, applying your patch gives me an error while compiling.
> > >
> > > "
> > > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > > QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> > > QSurfaceFormat&)':
> > > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> > > QSurfaceFormat&)::mali_native_window native_window' has initializer
> but
> > > incomplete type
> > >      static struct mali_native_window native_window = {
> > >                                       ^
> > > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of
> non-void
> > > function [-Wreturn-type]
> > >  }
> > >  ^
> > > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > > "
> > >
> > > Any suggestions?
> > >
> >
> > This patch just works for mali accelerated hardware.
> >
>
> I'm just desperate to get it working, I had no hope it would ;-)
>

You can search for a similar struct on Rpi libGLESv2 headers.


Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/


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

* Antwort: Re: Antwort: Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-27 12:58           ` Diego Sueiro
@ 2014-05-27 16:31             ` Felix01 Fischer
  2014-05-30  7:18               ` Stephen Arnold
  0 siblings, 1 reply; 11+ messages in thread
From: Felix01 Fischer @ 2014-05-27 16:31 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel-bounces

openembedded-devel-bounces@lists.openembedded.org schrieb am 27.05.2014 
14:58:27:

> Von: Diego Sueiro <diego.sueiro@gmail.com>
> An: openembedded-devel@lists.openembedded.org, 
> Kopie: openembedded-devel-bounces@lists.openembedded.org
> Datum: 27.05.2014 15:28
> Betreff: Re: [oe] Antwort: Re: [meta-qt5] Building and running 
> issues on Raspberry Pi
> Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> 
> On Tue, May 27, 2014 at 9:54 AM, Felix01 Fischer 
> <felix01.fischer@iav.de>wrote:
> 
> > First, thank you for your quick answer!
> > Please find my comments inline.
> >
> >
> > > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > > An: openembedded-devel@lists.openembedded.org,
> > > Datum: 27.05.2014 12:41
> > > Betreff: Re: [oe] [meta-qt5] Building and running issues on 
Raspberry Pi
> > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > >
> > > On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer
> > > <felix01.fischer@iav.de>wrote:
> > >
> > > > It's not possible to have hardware-accelerated QT on the raspberry 
pi
> > when
> > > > you are running an X11 environment, therefore I want to use eglfs
> > > > directly.
> > > >
> > > > The raspberry pi doesn't have a mali graphics core, AFAIK.
> > > >
> > >
> > > You are right. You should have to use userland package to get 
GLESv2:
> > > http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> > > graphics/userland/userland_git.bb
> > >
> >
> > I'm using this recipe and I think it's cooked into the image by 
default.
> > Just to be sure I will do another image with userland added via 
local.conf
> > I think if this would be missing I should get another error code, when
> > trying to start a Qt Programm
> >
> >
> > >
> > > >
> > > > Nevertheless, applying your patch gives me an error while 
compiling.
> > > >
> > > > "
> > > > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > > > QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, 
const
> > > > QSurfaceFormat&)':
> > > > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > > > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, 
const
> > > > QSurfaceFormat&)::mali_native_window native_window' has 
initializer
> > but
> > > > incomplete type
> > > >      static struct mali_native_window native_window = {
> > > >                                       ^
> > > > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of
> > non-void
> > > > function [-Wreturn-type]
> > > >  }
> > > >  ^
> > > > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > > > "
> > > >
> > > > Any suggestions?
> > > >
> > >
> > > This patch just works for mali accelerated hardware.
> > >
> >
> > I'm just desperate to get it working, I had no hope it would ;-)
> >
> 
> You can search for a similar struct on Rpi libGLESv2 headers.


Till now I don't have any success.
Reading through various forums it seems to me, that with raspbian it is 
possible to get eglfs running.
But I haven't found any special patch or workaround they are maybe using.
Is there somehting special bitbake or poky does I'm not aware of?
Regards,
Felix




> 
> 
> Regards,
> 
> --
> *dS
> Diego Sueiro
> 
> Administrador do Embarcados
> www.embarcados.com.br<http://www.embarcados.com.br/?
> utm_source=assinatura_diego&utm_medium=e-
> mail&utm_campaign=Assinatura%20Email%20Diego>
> 
> /*long live rock 'n roll*/
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: Antwort: Re: Antwort: Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-27 16:31             ` Antwort: " Felix01 Fischer
@ 2014-05-30  7:18               ` Stephen Arnold
  2014-06-03  8:41                 ` Felix01 Fischer
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Arnold @ 2014-05-30  7:18 UTC (permalink / raw)
  To: openembedded-devel

I haven't really played with this end of rpi graphics much, but here are a
couple of things to check.  The vc-graphics, vg-graphics-hardfp, and
userland packages are all involved in rpi graphics.  The first two conflict
with each other, and there appears to be init scripts involved.  It looks
like maybe both userland and one of the vc-graphics packages are required
and some initial load/init stuff has to happen?  That's about all I got,
please post if you get it working.  My rpi build has nice working audio but
it would be cool to have full graphics support...


On Tue, May 27, 2014 at 9:31 AM, Felix01 Fischer <felix01.fischer@iav.de>
wrote:

> openembedded-devel-bounces@lists.openembedded.org schrieb am 27.05.2014
> 14:58:27:
>
> > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > An: openembedded-devel@lists.openembedded.org,
> > Kopie: openembedded-devel-bounces@lists.openembedded.org
> > Datum: 27.05.2014 15:28
> > Betreff: Re: [oe] Antwort: Re: [meta-qt5] Building and running
> > issues on Raspberry Pi
> > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> >
> > On Tue, May 27, 2014 at 9:54 AM, Felix01 Fischer
> > <felix01.fischer@iav.de>wrote:
> >
> > > First, thank you for your quick answer!
> > > Please find my comments inline.
> > >
> > >
> > > > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > > > An: openembedded-devel@lists.openembedded.org,
> > > > Datum: 27.05.2014 12:41
> > > > Betreff: Re: [oe] [meta-qt5] Building and running issues on
> Raspberry Pi
> > > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > > >
> > > > On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer
> > > > <felix01.fischer@iav.de>wrote:
> > > >
> > > > > It's not possible to have hardware-accelerated QT on the raspberry
> pi
> > > when
> > > > > you are running an X11 environment, therefore I want to use eglfs
> > > > > directly.
> > > > >
> > > > > The raspberry pi doesn't have a mali graphics core, AFAIK.
> > > > >
> > > >
> > > > You are right. You should have to use userland package to get
> GLESv2:
> > > > http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> > > > graphics/userland/userland_git.bb
> > > >
> > >
> > > I'm using this recipe and I think it's cooked into the image by
> default.
> > > Just to be sure I will do another image with userland added via
> local.conf
> > > I think if this would be missing I should get another error code, when
> > > trying to start a Qt Programm
> > >
> > >
> > > >
> > > > >
> > > > > Nevertheless, applying your patch gives me an error while
> compiling.
> > > > >
> > > > > "
> > > > > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > > > > QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&,
> const
> > > > > QSurfaceFormat&)':
> > > > > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > > > > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&,
> const
> > > > > QSurfaceFormat&)::mali_native_window native_window' has
> initializer
> > > but
> > > > > incomplete type
> > > > >      static struct mali_native_window native_window = {
> > > > >                                       ^
> > > > > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of
> > > non-void
> > > > > function [-Wreturn-type]
> > > > >  }
> > > > >  ^
> > > > > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > > > > "
> > > > >
> > > > > Any suggestions?
> > > > >
> > > >
> > > > This patch just works for mali accelerated hardware.
> > > >
> > >
> > > I'm just desperate to get it working, I had no hope it would ;-)
> > >
> >
> > You can search for a similar struct on Rpi libGLESv2 headers.
>
>
> Till now I don't have any success.
> Reading through various forums it seems to me, that with raspbian it is
> possible to get eglfs running.
> But I haven't found any special patch or workaround they are maybe using.
> Is there somehting special bitbake or poky does I'm not aware of?
> Regards,
> Felix
>
>
>
>
> >
> >
> > Regards,
> >
> > --
> > *dS
> > Diego Sueiro
> >
> > Administrador do Embarcados
> > www.embarcados.com.br<http://www.embarcados.com.br/?
> > utm_source=assinatura_diego&utm_medium=e-
> > mail&utm_campaign=Assinatura%20Email%20Diego>
> >
> > /*long live rock 'n roll*/
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

* Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-05-30  7:18               ` Stephen Arnold
@ 2014-06-03  8:41                 ` Felix01 Fischer
  2014-11-04 16:15                   ` Diego Sueiro
  0 siblings, 1 reply; 11+ messages in thread
From: Felix01 Fischer @ 2014-06-03  8:41 UTC (permalink / raw)
  To: openembedded-devel

Please find my comments inline

> Von: Stephen Arnold <stephen.arnold42@gmail.com>
> An: openembedded-devel@lists.openembedded.org, 
> Datum: 30.05.2014 09:21
> Betreff: Re: [oe] Antwort: Re: Antwort: Re: [meta-qt5] Building and 
> running issues on Raspberry Pi
> Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> 
> I haven't really played with this end of rpi graphics much, but here are 
a
> couple of things to check.  The vc-graphics, vg-graphics-hardfp, and
> userland packages are all involved in rpi graphics.  The first two 
conflict
> with each other, and there appears to be init scripts involved.  It 
looks
> like maybe both userland and one of the vc-graphics packages are 
required
> and some initial load/init stuff has to happen?  That's about all I got,
> please post if you get it working.  My rpi build has nice working audio 
but
> it would be cool to have full graphics support...
> 
> 

Thank you very much for your input!
Maybe yout got me going on the right path:

Going trough the meta-raspberry/recipes-bcm/vc-graphics [1]  folder I 
noticed something in line 10 in meta-raspberry/recipes-bcm/vc-graphics/
files/egl.pc [2]

"Cflags: -I${includedir}/vc -I${includedir}/interface 
-I${includedir}/interface/vcos -I${includedir}/interface/vcos/pthreads"

I always had to add "-I${includedir}/interface/vcos/pthreads" manually 
(mostly via "QT_CONFIG_FLAGS += " in  local.conf) otherwise qtbase won't 
compile, because it didn't find pthreads.

The commit message for egl.pc states
"This package adds a egl.pc file for use with libEGL (it is necessary to 
specify a custom include paths for the compiler due to brokenness in the 
firmware header files)." [3]

Maybe this is the root of my problems if qtbase and therefore my own 
programm and qtcinematicexperience aswell dont inherit this file and it's 
paths. Maybe my workaround has some nasty side effects.

Now I have to figure out how a *.pc file works with bitbake :-)

PS: I also needed to specify -device and -device-option CROSS_COMPILE= via 
QT_CONFIG_FLAGS. Maybe this should be done via meta-raspberrypi, too?

Regards,

Felix




[1] 
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bcm/vc-graphics
[2] 
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bcm/vc-graphics/files/egl.pc
[3] 
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/recipes-bcm/vc-graphics/files/egl.pc?id=fac94bf7de6ee76b8ef1f74bc1dba565eeaabf2a


> On Tue, May 27, 2014 at 9:31 AM, Felix01 Fischer 
<felix01.fischer@iav.de>
> wrote:
> 
> > openembedded-devel-bounces@lists.openembedded.org schrieb am 
27.05.2014
> > 14:58:27:
> >
> > > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > > An: openembedded-devel@lists.openembedded.org,
> > > Kopie: openembedded-devel-bounces@lists.openembedded.org
> > > Datum: 27.05.2014 15:28
> > > Betreff: Re: [oe] Antwort: Re: [meta-qt5] Building and running
> > > issues on Raspberry Pi
> > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > >
> > > On Tue, May 27, 2014 at 9:54 AM, Felix01 Fischer
> > > <felix01.fischer@iav.de>wrote:
> > >
> > > > First, thank you for your quick answer!
> > > > Please find my comments inline.
> > > >
> > > >
> > > > > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > > > > An: openembedded-devel@lists.openembedded.org,
> > > > > Datum: 27.05.2014 12:41
> > > > > Betreff: Re: [oe] [meta-qt5] Building and running issues on
> > Raspberry Pi
> > > > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > > > >
> > > > > On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer
> > > > > <felix01.fischer@iav.de>wrote:
> > > > >
> > > > > > It's not possible to have hardware-accelerated QT on the 
raspberry
> > pi
> > > > when
> > > > > > you are running an X11 environment, therefore I want to use 
eglfs
> > > > > > directly.
> > > > > >
> > > > > > The raspberry pi doesn't have a mali graphics core, AFAIK.
> > > > > >
> > > > >
> > > > > You are right. You should have to use userland package to get
> > GLESv2:
> > > > > 
http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> > > > > graphics/userland/userland_git.bb
> > > > >
> > > >
> > > > I'm using this recipe and I think it's cooked into the image by
> > default.
> > > > Just to be sure I will do another image with userland added via
> > local.conf
> > > > I think if this would be missing I should get another error code, 
when
> > > > trying to start a Qt Programm
> > > >
> > > >
> > > > >
> > > > > >
> > > > > > Nevertheless, applying your patch gives me an error while
> > compiling.
> > > > > >
> > > > > > "
> > > > > > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > > > > > QEglFSHooks::createNativeWindow(QPlatformWindow*, const 
QSize&,
> > const
> > > > > > QSurfaceFormat&)':
> > > > > > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > > > > > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const 
QSize&,
> > const
> > > > > > QSurfaceFormat&)::mali_native_window native_window' has
> > initializer
> > > > but
> > > > > > incomplete type
> > > > > >      static struct mali_native_window native_window = {
> > > > > >                                       ^
> > > > > > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end 
of
> > > > non-void
> > > > > > function [-Wreturn-type]
> > > > > >  }
> > > > > >  ^
> > > > > > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > > > > > "
> > > > > >
> > > > > > Any suggestions?
> > > > > >
> > > > >
> > > > > This patch just works for mali accelerated hardware.
> > > > >
> > > >
> > > > I'm just desperate to get it working, I had no hope it would ;-)
> > > >
> > >
> > > You can search for a similar struct on Rpi libGLESv2 headers.
> >
> >
> > Till now I don't have any success.
> > Reading through various forums it seems to me, that with raspbian it 
is
> > possible to get eglfs running.
> > But I haven't found any special patch or workaround they are maybe 
using.
> > Is there somehting special bitbake or poky does I'm not aware of?
> > Regards,
> > Felix
> >
> >
> >
> >
> > >
> > >
> > > Regards,
> > >
> > > --
> > > *dS
> > > Diego Sueiro
> > >
> > > Administrador do Embarcados
> > > www.embarcados.com.br<http://www.embarcados.com.br/?
> > > utm_source=assinatura_diego&utm_medium=e-
> > > mail&utm_campaign=Assinatura%20Email%20Diego>
> > >
> > > /*long live rock 'n roll*/
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-qt5] Building and running issues on Raspberry Pi
  2014-06-03  8:41                 ` Felix01 Fischer
@ 2014-11-04 16:15                   ` Diego Sueiro
  0 siblings, 0 replies; 11+ messages in thread
From: Diego Sueiro @ 2014-11-04 16:15 UTC (permalink / raw)
  To: openembeded-devel

Felix,

I don't if you could get Qt5 running on Rpi.

If not I suggest you to take a look at this recipe:
https://bitbucket.org/embarcados/meta-embarcados/src/434dc81fcb7fe630c107ef172afc33ce62e335db/meta-rpi/recipes-qt/qt5/qtbase_5.3.%25.bbappend?at=daisy

Note that vc-graphics is used instead of userland:
https://bitbucket.org/embarcados/meta-embarcados/src/434dc81fcb7fe630c107ef172afc33ce62e335db/meta-rpi/conf/machine/include/rpi-default-providers.inc?at=daisy

This is my bbblayers.conf:
BBLAYERS ?= " \
  ${TOPDIR}/../poky-daisy/meta-embarcados \
  ${TOPDIR}/../poky-daisy/meta-embarcados/meta-rpi \
  ${TOPDIR}/../poky-daisy/meta-raspberrypi \
  ${TOPDIR}/../poky-daisy/meta-qt5 \
  ${TOPDIR}/../poky-daisy/meta-openembedded/meta-oe \
  ${TOPDIR}/../poky-daisy/meta \
  ${TOPDIR}/../poky-daisy/meta-yocto \
  "

All layers in daisy branch and only meta-qt5 on master.

Additionally you have to set GPU_MEM = "128" on your local.conf.

I've tested the Cinematics Experience demo and everything is working like a
charm.


Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br
<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/

On Tue, Jun 3, 2014 at 5:41 AM, Felix01 Fischer <felix01.fischer@iav.de>
wrote:

> Please find my comments inline
>
> > Von: Stephen Arnold <stephen.arnold42@gmail.com>
> > An: openembedded-devel@lists.openembedded.org,
> > Datum: 30.05.2014 09:21
> > Betreff: Re: [oe] Antwort: Re: Antwort: Re: [meta-qt5] Building and
> > running issues on Raspberry Pi
> > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> >
> > I haven't really played with this end of rpi graphics much, but here are
> a
> > couple of things to check.  The vc-graphics, vg-graphics-hardfp, and
> > userland packages are all involved in rpi graphics.  The first two
> conflict
> > with each other, and there appears to be init scripts involved.  It
> looks
> > like maybe both userland and one of the vc-graphics packages are
> required
> > and some initial load/init stuff has to happen?  That's about all I got,
> > please post if you get it working.  My rpi build has nice working audio
> but
> > it would be cool to have full graphics support...
> >
> >
>
> Thank you very much for your input!
> Maybe yout got me going on the right path:
>
> Going trough the meta-raspberry/recipes-bcm/vc-graphics [1]  folder I
> noticed something in line 10 in meta-raspberry/recipes-bcm/vc-graphics/
> files/egl.pc [2]
>
> "Cflags: -I${includedir}/vc -I${includedir}/interface
> -I${includedir}/interface/vcos -I${includedir}/interface/vcos/pthreads"
>
> I always had to add "-I${includedir}/interface/vcos/pthreads" manually
> (mostly via "QT_CONFIG_FLAGS += " in  local.conf) otherwise qtbase won't
> compile, because it didn't find pthreads.
>
> The commit message for egl.pc states
> "This package adds a egl.pc file for use with libEGL (it is necessary to
> specify a custom include paths for the compiler due to brokenness in the
> firmware header files)." [3]
>
> Maybe this is the root of my problems if qtbase and therefore my own
> programm and qtcinematicexperience aswell dont inherit this file and it's
> paths. Maybe my workaround has some nasty side effects.
>
> Now I have to figure out how a *.pc file works with bitbake :-)
>
> PS: I also needed to specify -device and -device-option CROSS_COMPILE= via
> QT_CONFIG_FLAGS. Maybe this should be done via meta-raspberrypi, too?
>
> Regards,
>
> Felix
>
>
>
>
> [1]
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bcm/vc-graphics
> [2]
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bcm/vc-graphics/files/egl.pc
> [3]
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/recipes-bcm/vc-graphics/files/egl.pc?id=fac94bf7de6ee76b8ef1f74bc1dba565eeaabf2a
>
>
> > On Tue, May 27, 2014 at 9:31 AM, Felix01 Fischer
> <felix01.fischer@iav.de>
> > wrote:
> >
> > > openembedded-devel-bounces@lists.openembedded.org schrieb am
> 27.05.2014
> > > 14:58:27:
> > >
> > > > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > > > An: openembedded-devel@lists.openembedded.org,
> > > > Kopie: openembedded-devel-bounces@lists.openembedded.org
> > > > Datum: 27.05.2014 15:28
> > > > Betreff: Re: [oe] Antwort: Re: [meta-qt5] Building and running
> > > > issues on Raspberry Pi
> > > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > > >
> > > > On Tue, May 27, 2014 at 9:54 AM, Felix01 Fischer
> > > > <felix01.fischer@iav.de>wrote:
> > > >
> > > > > First, thank you for your quick answer!
> > > > > Please find my comments inline.
> > > > >
> > > > >
> > > > > > Von: Diego Sueiro <diego.sueiro@gmail.com>
> > > > > > An: openembedded-devel@lists.openembedded.org,
> > > > > > Datum: 27.05.2014 12:41
> > > > > > Betreff: Re: [oe] [meta-qt5] Building and running issues on
> > > Raspberry Pi
> > > > > > Gesendet von: openembedded-devel-bounces@lists.openembedded.org
> > > > > >
> > > > > > On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer
> > > > > > <felix01.fischer@iav.de>wrote:
> > > > > >
> > > > > > > It's not possible to have hardware-accelerated QT on the
> raspberry
> > > pi
> > > > > when
> > > > > > > you are running an X11 environment, therefore I want to use
> eglfs
> > > > > > > directly.
> > > > > > >
> > > > > > > The raspberry pi doesn't have a mali graphics core, AFAIK.
> > > > > > >
> > > > > >
> > > > > > You are right. You should have to use userland package to get
> > > GLESv2:
> > > > > >
> http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> > > > > > graphics/userland/userland_git.bb
> > > > > >
> > > > >
> > > > > I'm using this recipe and I think it's cooked into the image by
> > > default.
> > > > > Just to be sure I will do another image with userland added via
> > > local.conf
> > > > > I think if this would be missing I should get another error code,
> when
> > > > > trying to start a Qt Programm
> > > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > Nevertheless, applying your patch gives me an error while
> > > compiling.
> > > > > > >
> > > > > > > "
> > > > > > > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > > > > > > QEglFSHooks::createNativeWindow(QPlatformWindow*, const
> QSize&,
> > > const
> > > > > > > QSurfaceFormat&)':
> > > > > > > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > > > > > > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const
> QSize&,
> > > const
> > > > > > > QSurfaceFormat&)::mali_native_window native_window' has
> > > initializer
> > > > > but
> > > > > > > incomplete type
> > > > > > >      static struct mali_native_window native_window = {
> > > > > > >                                       ^
> > > > > > > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end
> of
> > > > > non-void
> > > > > > > function [-Wreturn-type]
> > > > > > >  }
> > > > > > >  ^
> > > > > > > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > > > > > > "
> > > > > > >
> > > > > > > Any suggestions?
> > > > > > >
> > > > > >
> > > > > > This patch just works for mali accelerated hardware.
> > > > > >
> > > > >
> > > > > I'm just desperate to get it working, I had no hope it would ;-)
> > > > >
> > > >
> > > > You can search for a similar struct on Rpi libGLESv2 headers.
> > >
> > >
> > > Till now I don't have any success.
> > > Reading through various forums it seems to me, that with raspbian it
> is
> > > possible to get eglfs running.
> > > But I haven't found any special patch or workaround they are maybe
> using.
> > > Is there somehting special bitbake or poky does I'm not aware of?
> > > Regards,
> > > Felix
> > >
> > >
> > >
> > >
> > > >
> > > >
> > > > Regards,
> > > >
> > > > --
> > > > *dS
> > > > Diego Sueiro
> > > >
> > > > Administrador do Embarcados
> > > > www.embarcados.com.br<http://www.embarcados.com.br/?
> > > > utm_source=assinatura_diego&utm_medium=e-
> > > > mail&utm_campaign=Assinatura%20Email%20Diego>
> > > >
> > > > /*long live rock 'n roll*/
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2014-11-04 16:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 10:36 [meta-qt5] Building and running issues on Raspberry Pi Felix01 Fischer
2014-05-23 10:17 ` Felix01 Fischer
2014-05-23 12:41   ` Diego Sueiro
2014-05-27 10:08     ` Felix01 Fischer
2014-05-27 10:40       ` Diego Sueiro
2014-05-27 12:54         ` Antwort: " Felix01 Fischer
2014-05-27 12:58           ` Diego Sueiro
2014-05-27 16:31             ` Antwort: " Felix01 Fischer
2014-05-30  7:18               ` Stephen Arnold
2014-06-03  8:41                 ` Felix01 Fischer
2014-11-04 16:15                   ` Diego Sueiro

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.