[yocto] Qtbase Poky/Jethro

Martin Jansa martin.jansa at gmail.com
Wed Feb 17 10:45:50 PST 2016


On Wed, Feb 03, 2016 at 03:15:26PM -0600, Michael Gloff wrote:
> All,
> I'm hoping someone can help to get qtbase to compile on a fresh checkout of
> poky and meta-qt5 on Jethro branch and a clean build directory. I've
> attached the log.do_compile and pasted below what I believe to be the
> error. Has anyone seen this before? Qtbase does build in master for me
> though. Are there some particular patches that need to be backported?
> 
> Build Configuration:
> BB_VERSION        = "1.28.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-14.04"
> TARGET_SYS        = "x86_64-poky-linux"
> MACHINE           = "genericx86-64"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.0.1"
> TUNE_FEATURES     = "m64 core2"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "jethro:dd0ba9ea4a11ab15348d4fe3574e4b28784db82f"
> meta-qt5          = "jethro:d5536e34ec985c82b621448ab4325e5cbba38560"
> 
> |
> /home/developer/oe/poky/build/tmp/work/core2-64-poky-linux/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':
> |
> /home/developer/oe/poky/build/tmp/work/core2-64-poky-linux/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)) {
> |                         ^
> |
> /home/developer/oe/poky/build/tmp/work/core2-64-poky-linux/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)) {
> 
> Are there some PACKAGECONFIGs or DISTRO_FEATURES that are not part of
> default Poky that need to be enabled?

You can either remove gtkstyle (which is included by default with x11 in
DISTRO_FEATUREs) or add accessibility (which most people probably
enable, because it's needed for building qtquickcontrols as comment in
qtbase_git.bb says).

This issue is fixed in qtbase 5.6, but the populate_sysroot tasks are
failing since this oe-core commit fixed the QA checks:
http://git.openembedded.org/openembedded-core/commit/meta/classes/insane.bbclass?id=3739aaf644d5a0f28e85fd07c67cecbfa5b8fb8a
I'm working on the fix for this.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160217/46adf853/attachment.pgp>


More information about the yocto mailing list