PDA

View Full Version : Qt5 build failed for Yocto



bhargavi
25th October 2017, 12:34
Hello Everyone,

I'm trying to build Qt5 within Yocto/jethro branch,but i'm getting an errors which is mentioned below.

ERROR
/home/lab/fsl-community-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qstylehelper_p.h:79:37: error: 'QAccessible' has not been declared
| bool isInstanceOf(QObject *obj, QAccessible::Role role);
| ^
| /home/lab/fsl-community-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qstylehelper_p.h:79:55: error: expected ',' or '...' before 'role'
| bool isInstanceOf(QObject *obj, QAccessible::Role role);
| ^
| /home/lab/fsl-community-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qstylehelper_p.h:80:36: error: 'QAccessible' has not been declared
| bool hasAncestor(QObject *obj, QAccessible::Role role);
| ^
| /home/lab/fsl-community-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qstylehelper_p.h:80:54: error: expected ',' or '...' before 'role'
| bool hasAncestor(QObject *obj, QAccessible::Role role);

Please anyone know the error or faced same issue in past then please help me to resolve the issue?