[meta-freescale] Problems with qtbase_5.x.bbappend

Stephan Bauroth stephan.bauroth at iav.de
Tue Nov 5 05:23:06 PST 2013


Hello List,

I have problems compiling Qtbase 5.x if the .bbappend provided by 
meta-fsl-arm/qt5-layer is in place. Shortened error log:

In file included from 
..build/tmp/sysroots/mx6qsabrelite/usr/include/X11/Xlib.h:44:0,
|                  from 
..build/tmp/sysroots/mx6qsabrelite/usr/include/EGL/eglvivante.h:222,
|                  from 
..build/tmp/sysroots/mx6qsabrelite/usr/include/EGL/eglplatform.h:38,
|                  from 
..build/tmp/sysroots/mx6qsabrelite/usr/include/EGL/egl.h:34,
|                  from 
..build/tmp/work/<arch>/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/plugins/platforms/eglfs/qeglfsscreen.h:49,
|                  from 
..build/tmp/work/<arch>/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/plugins/platforms/eglfs/qeglfsintegration.h:45,
|                  from 
..build/tmp/work/<arch>/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/plugins/platforms/eglfs/qeglfsintegration.cpp:42:
| 
build/tmp/work/<arch>/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/src/corelib/io/qurl.h:132:9: 
error: expected identifier before numeric constant
|          None = 0x0,
|          ^

with <arch> being cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi

If I understand that one correctly, in 'Xlib.h:44', 'X.h' gets included 
and 'X.h' defines 'None' (as 0). qurl.h 'redefines' it, which make the 
compiler go nuts. I simply don't know how to solve that...
With the bbappend deleted, everyone compiles fine, but that's clearly not 
the intention...


Any help would be great :)

regards,
Stephan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131105/4c8ed626/attachment.html>


More information about the meta-freescale mailing list