I'm trying to build Qt5 within Yocto/jethro branch but without success, while already have successful experience in building Qt5 for oe-core of "fido" branch.
The only solution I found over the internet is the following:
I finaly reproduced the same error.
I did not have it because during my compilation, I removed "x11"
from DISTRO_FEATURES. If you look at qtbase_git.bb, you can see that
some of PACKAGECONFIG_X11 features (gtkstyle) depend on "-accessibility" flag.
Who have same problems? Is this trouble known to other users and developers? May I expect patch soon or what I can do to solve this trap?
- Code: Select all
| /oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qgtkstyle.cpp: In member function 'virtual QRect QGtkStyle::subControlRect(QStyle::ComplexControl, const QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const':
| /oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qgtkstyle.cpp:3636:24: error: 'isInstanceOf' is not a member of 'QStyleHelper'
| } else if (QStyleHelper::isInstanceOf(groupBox->styleObject, QAccessible::Grouping)) {
| ^
| /oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/styles/qgtkstyle.cpp:3636:74: error: 'QAccessible' has not been declared
| } else if (QStyleHelper::isInstanceOf(groupBox->styleObject, QAccessible::Grouping)) {
| ^
| moc /oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/widgets/qcalendarwidget.h
| compiling /oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/widgets/widgets/qcheckbox.cpp
| make[2]: *** [.obj/qgtkstyle.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/build/src/widgets'
| make[1]: *** [sub-widgets-make_first] Error 2
| make[1]: Leaving directory `/oe/fsl-community-bsp/ipcam_build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/build/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed