[meta-freescale] Qt5 with Yocto
Morgan McKenzie
rmtm at uvic.ca
Sun Dec 15 11:16:13 PST 2013
Hi,
So I've tried updating my repo and when I went to build again the meta-qt5 build is running into problems. I've tried on both master and dora branches (when I switched to master I switched the repo and meta-qt5) but I'm getting an error related to QUrl. I even tried creating a new repo and starting from scratch.
I think it's related to this - I'm not sure how to go about fixing it in the meta-qt5 build though: http://qt-project.org/forums/viewthread/25896
It seems to be failing at the following - not sure why it's even compiling that as I've specified DISTRO_FEATURES_remove += "x11 wayland".../build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/src/plugins/platforms/xcb
And it is giving a ton of errors something like the following, all about qurl.h: | /storage/fsl-community-bsp2/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/include/QtCore/../../src/corelib/io/qurl.h:246:38: error: non-member function 'bool operator<(const QUrl&)' cannot have cv-qualifier| bool operator <(const QUrl &url) const;
Has anyone else seen a problem like this?
Thanks for all your help so far, it's been very valuable.
Morgan McKenzie
This is my entire image bb file:DISTRO_FEATURES_remove += "x11 wayland"SYSTEMD_INSTALL = " \ systemd \ systemd-compat-units \ systemd-speed-hacks \ udev-systemd \ rsyslog-systemd \"SYSV_INSTALL = " \ udev \ sysvinit \ initscripts \"IMAGE_FEATURES += "\ ssh-server-openssh \ splash \"DEPENDS += "\ gpu-viv-bin-mx6q \ libpng \"#core-image-minimalIMAGE_INSTALL += "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} \ ${CORE_IMAGE_EXTRA_INSTALL} \"#QT-in-use-common:IMAGE_INSTALL += " \ base-files \ base-passwd \ busybox \ ${@base_contains("MACHINE_FEATURES", "systemd", "${SYSTEMD_INSTALL}", "${SYSV_INSTALL}", d)} \ packagegroup-fsl-gstreamer \ packagegroup-base \"#fsl-image#IMAGE_INSTALL += " \# ${XSERVER} \# packagegroup-core-x11 \# xorg-minimal-fonts \# liberation-fonts \ #"#CANIMAGE_INSTALL += " \ canutils \"#QT5:IMAGE_INSTALL += " \ gpu-viv-bin-mx6q \ gcc \ g++ \ binutils \ libgcc \ libgcc-dev \ libstdc++ \ libstdc++-dev \ libstdc++-staticdev \ tslib-conf \ tslib-tests \ tslib-calibrate \ openssh-sftp-server \ alsa-lib \ alsa-tools \ alsa-state \ alsa-utils-alsaconf \ tslib \ evtest \ dbus \ nano \ git \ qtbase \ qtbase-fonts \ qtbase-plugins \ qtbase-examples \ cinematicexperience \ gstreamer \ cairo \ pango \ fontconfig \ freetype \ pulseaudio \ strace \ gdb \ rsync \ libpng \ libpng12 \ openssh \"#ROOTFS_POSTPROCESS_COMMAND += "(cd ${IMAGE_ROOTFS}/usr/bin ; \# ln -s smarthome x-window-manager );"#do_rootfs[depends] += "virtual/kernel:do_populate_sysroot"#do_unpack[depends] += "virtual/kernel:do_populate_sysroot"inherit core-imageexport IMAGE_BASENAME = "uvic-image-ecocar"
> From: alfonso at mantic.mx
> Date: Fri, 13 Dec 2013 05:18:18 -0600
> To: koansoftware at gmail.com
> CC: meta-freescale at yoctoproject.org
> Subject: Re: [meta-freescale] Qt5 with Yocto
>
>
> Hi Marco,
>
> Indeed, I tried repo init and sync the master branch today and it is throwing an error about sources/poky/meta/recipes-support/consolekit/consolekit_0.4.6.bb DEPENDS or requires virtual/libx11. This while explicit removing X11 in DISTRO_FEATURES_remove. Something got messed up in the last 15 days.
>
> I repo synced my yocto_dora directory and tested Qt5_CinematicExperience and works fine.
>
> Can you specify the errors in yocto_dora? Can you bitbake with the -v switch?
>
> Regards,
>
> Alfonso
>
>
> On Dec 13, 2013, at 2:32 AM, Marco <koansoftware at gmail.com> wrote:
>
> > Il 13/12/2013 00:19, Alfonso Tamés ha scritto:
> >>
> >> Marco,
> >>
> >> The instructions in http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard should work for Dora and Master branches. Just remember that master is a moving target and sometimes it can give problems. Right now I am using Master without any problems.
> >>
> >> Regards,
> >>
> >
> > Hi Alfonso
> > that's not true on my side.
> > Unfortunately using master branch there is an error downloading the kernel.
> > OTOH using dora branch there are errors launching the executables on the imx6dlsabresd target.
> >
> > --
> > Marco
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131215/1ce42626/attachment.html>
More information about the meta-freescale
mailing list