* Qt5 with Yocto
@ 2013-12-10 23:34 Morgan McKenzie
0 siblings, 0 replies; 26+ messages in thread
From: Morgan McKenzie @ 2013-12-10 23:34 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2567 bytes --]
Hi,
I'm fairly new to Yocto and trying to build Qt5 from git, and am having a few issues. I used to use LTIB for image generation so I may have a few bad habits that might need correcting - I'll do my best to explain what I'm doing and any advice would be welcomed. (For the record I used to have no problem getting qt5 compiled using LTIB - I understand the build process of it fairly wel, so this is more a matter of not being able to do what I want with Yocto).
I have a recipe that is made with (I'm fairly sure) all the packages/libraries I think I need, which generates an image. What I used to do with LTIB and am trying to do now with Yocto is use the poky toolset and the sysroot to compile qt5 seperately and then have it included in the target image (I understand recipes and such enough to use for basic things but I'm not nearly at the level where I'd feel confident to write an entire one for compiling Qt5.)
From what I've read I thought there would be a full system root I could use for development at <build-root>/tmp/sysroots/imx6qsabreautoBut, it appears to be quite incomplete after a full build. Next I thought there would be a full root under <build-root>/tmp/deploy/images/imx6qsabreauto/<something>/ since the tar, ext3, and sdcard had to be created from something. But I haven't found anything - it must being deleted.
I eventually resorted to doing a 'bitbake -c populate_sdk uvic-image-ecocar' (uvic-image-ecocar is my recipe). When I run this it appears to make a full sysroot. I think I could then copy all of this to a system root and have a working system - but this means that every time I update the build I'm going to have to then generate a new SDK and install it, which seems really backwards.
Am I missing something - there must be an easier way. For the record I have seen meta-qt5 but the lack of documentation on how to actually install and use it (along with the relative inactivity of the repo) make me wary of spending the time to get it working - unless someone suggests that they had success with it and are willing to explain how to start off.
What I would ideally like to be able to do is simply point my Qt compilation at a system root - something like <build-root>/tmp/deploy/images/imx6qsabreauto/uvic-image-ecocar-imx6qsabreauto/ and build, then next time I run bitbake as images are created they would be built from this and therefore the files I built would be included.
Is this at all possible, or is there a different approach I should take?
Thanks,
Morgan McKenzie
[-- Attachment #2: Type: text/html, Size: 3286 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Qt5 with Yocto
@ 2013-12-11 8:24 Alfonso Tamés
2013-12-11 8:48 ` Morgan McKenzie
` (2 more replies)
0 siblings, 3 replies; 26+ messages in thread
From: Alfonso Tamés @ 2013-12-11 8:24 UTC (permalink / raw)
To: speedin_up; +Cc: meta-freescale
Hi Morgan,
I set up a Wiki page with instructions for building Qt5 for Yocto and a cross compiled Qt5 distribution to cross compile and deploy applications in Wandboard using QtCreator:
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
Check it out and feel free to ask any questions.
Regards,
Alfonso
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-11 8:24 Alfonso Tamés
@ 2013-12-11 8:48 ` Morgan McKenzie
2013-12-11 9:37 ` Marco
2013-12-11 9:11 ` Marco
2014-01-10 11:39 ` Florian
2 siblings, 1 reply; 26+ messages in thread
From: Morgan McKenzie @ 2013-12-11 8:48 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
Hi Alfonso,
I've started the build; so far the only problem I've encountered is the following so I simply removed it (I seem to remember having done something similar back on Dylan and it working then, but not so much on Dora): 'ssh-server-openssh' in IMAGE_FEATURES is not a valid image feature. Valid features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs package-management ptest-pkgs read-only-rootfs splash staticdev-pkgs
Thanks a lot, I'll let you know if I run into anything else!
Morgan
> From: alfonso@mantic.mx
> Subject: [meta-freescale] Qt5 with Yocto
> Date: Wed, 11 Dec 2013 02:24:37 -0600
> CC: meta-freescale@yoctoproject.org
> To: speedin_up@hotmail.com
>
>
> Hi Morgan,
>
> I set up a Wiki page with instructions for building Qt5 for Yocto and a cross compiled Qt5 distribution to cross compile and deploy applications in Wandboard using QtCreator:
>
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
>
> Check it out and feel free to ask any questions.
>
> Regards,
>
> Alfonso
[-- Attachment #2: Type: text/html, Size: 1611 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-11 8:24 Alfonso Tamés
2013-12-11 8:48 ` Morgan McKenzie
@ 2013-12-11 9:11 ` Marco
2013-12-12 9:41 ` Dmitriy B.
2014-01-10 11:39 ` Florian
2 siblings, 1 reply; 26+ messages in thread
From: Marco @ 2013-12-11 9:11 UTC (permalink / raw)
Cc: meta-freescale
Il 11/12/2013 09:24, Alfonso Tamés ha scritto:
>
> I set up a Wiki page with instructions for building Qt5 for Yocto and a cross compiled Qt5 distribution to cross compile and deploy applications in Wandboard using QtCreator:
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> Check it out and feel free to ask any questions.
> Regards,
Hi Alfonso,
you forgot to specify the branch you used on each layer.
Regards,
--
Marco
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-11 8:48 ` Morgan McKenzie
@ 2013-12-11 9:37 ` Marco
2013-12-12 9:01 ` Handford, Michael
0 siblings, 1 reply; 26+ messages in thread
From: Marco @ 2013-12-11 9:37 UTC (permalink / raw)
To: meta-freescale
Il 11/12/2013 09:48, Morgan McKenzie ha scritto:
> Hi Alfonso,
>
> I've started the build; so far the only problem I've encountered is the
> following so I simply removed it (I seem to remember having done
> something similar back on Dylan and it working then, but not so much on
> Dora):
> 'ssh-server-openssh' in IMAGE_FEATURES is not a valid image feature.
> Valid features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs
> package-management ptest-pkgs read-only-rootfs splash staticdev-pkgs
>
> Thanks a lot, I'll let you know if I run into anything else!
>
> Morgan
Maybe should be like this, probably modifying or customizing
core-image-minimal (as I did)
EXTRA_IMAGE_FEATURES = "debug-tweaks"
IMAGE_FEATURES += "ssh-server-openssh"
Cheers
--
Marco
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-11 9:37 ` Marco
@ 2013-12-12 9:01 ` Handford, Michael
2013-12-12 9:23 ` Marco
0 siblings, 1 reply; 26+ messages in thread
From: Handford, Michael @ 2013-12-12 9:01 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Alfonso, can you add which release branch you used?
With dora release I too get the 'ssh-server-openssh' not valid feature, was this replaced in Dora?
I also get nothing provides 'qtbase', maybe my meta-qt5 layer differs to yours as I've added the layer and features as you put on the wiki?
Thanks for documenting this and any help you can give.
Mike.
-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Marco
Sent: 11 December 2013 09:37
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] Qt5 with Yocto
Il 11/12/2013 09:48, Morgan McKenzie ha scritto:
> Hi Alfonso,
>
> I've started the build; so far the only problem I've encountered is the
> following so I simply removed it (I seem to remember having done
> something similar back on Dylan and it working then, but not so much on
> Dora):
> 'ssh-server-openssh' in IMAGE_FEATURES is not a valid image feature.
> Valid features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs
> package-management ptest-pkgs read-only-rootfs splash staticdev-pkgs
>
> Thanks a lot, I'll let you know if I run into anything else!
>
> Morgan
Maybe should be like this, probably modifying or customizing
core-image-minimal (as I did)
EXTRA_IMAGE_FEATURES = "debug-tweaks"
IMAGE_FEATURES += "ssh-server-openssh"
Cheers
--
Marco
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 9:01 ` Handford, Michael
@ 2013-12-12 9:23 ` Marco
2013-12-12 9:32 ` Handford, Michael
0 siblings, 1 reply; 26+ messages in thread
From: Marco @ 2013-12-12 9:23 UTC (permalink / raw)
To: meta-freescale
Il 12/12/2013 10:01, Handford, Michael ha scritto:
> Alfonso, can you add which release branch you used?
>
> With dora release I too get the 'ssh-server-openssh' not valid feature, was this replaced in Dora?
> I also get nothing provides 'qtbase', maybe my meta-qt5 layer differs to yours as I've added the layer and features as you put on the wiki?
>
> Thanks for documenting this and any help you can give.
>
Hi Mike,
have you added the new layers to bblayers.conf ?
I mean includeing meta-openembedded too?
Can you share it?
Regards,
--
Marco
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 9:23 ` Marco
@ 2013-12-12 9:32 ` Handford, Michael
2013-12-12 10:01 ` Marco
0 siblings, 1 reply; 26+ messages in thread
From: Handford, Michael @ 2013-12-12 9:32 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hi Marco,
I added 'meta-qt5' to my current bblayers.conf only so my bblayers.conf looks like this:
-----------------------------------------------------------------------------------
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= ""
#BBLAYERS = " \
# ${BSPDIR}/sources/poky/meta \
# ${BSPDIR}/sources/poky/meta-yocto \
# \
# ${BSPDIR}/sources/meta-openembedded/meta-oe \
# \
# ${BSPDIR}/sources/meta-fsl-arm \
# ${BSPDIR}/sources/meta-fsl-arm-extra \
# ${BSPDIR}/sources/meta-fsl-demos \
# ${BSPDIR}/sources/meta-qt5 \
#"
-----------------------------------------------------------------------------------
Thanks for your help
Mike.
-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Marco
Sent: 12 December 2013 09:24
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] Qt5 with Yocto
Il 12/12/2013 10:01, Handford, Michael ha scritto:
> Alfonso, can you add which release branch you used?
>
> With dora release I too get the 'ssh-server-openssh' not valid feature, was this replaced in Dora?
> I also get nothing provides 'qtbase', maybe my meta-qt5 layer differs to yours as I've added the layer and features as you put on the wiki?
>
> Thanks for documenting this and any help you can give.
>
Hi Mike,
have you added the new layers to bblayers.conf ?
I mean includeing meta-openembedded too?
Can you share it?
Regards,
--
Marco
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-11 9:11 ` Marco
@ 2013-12-12 9:41 ` Dmitriy B.
2013-12-12 9:56 ` Handford, Michael
2013-12-12 10:05 ` Marco
0 siblings, 2 replies; 26+ messages in thread
From: Dmitriy B. @ 2013-12-12 9:41 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 997 bytes --]
>
> Hi Alfonso,
> you forgot to specify the branch you used on each layer.
>
> Regards,
> --
> Marco
Since Alfonso didn't answer for couple of days, I will. Use the dora branch
for *both* fsl-community-bsp-platform (when initializing your Yocto) and
meta-qt5. If you try to run meta-qt5 master branch - it will fail to build
with missing packages.
I just built minimal image without X11 and with qt5 as the manual
suggests. EXTRA_IMAGE_FEATURES and IMAGE_INSTALL_append seem to work on
dora branch.
Still didn't find time to test it on real board, but at least it builds
without errors, my previous try couple months ago ended up with qt not
building at all (errors with EGL integration and etc).
If you will have horrible errors with meta-qt5 like packages not being
found or other issues like that - write directly to meta-qt5 maintainers as
README suggests https://github.com/meta-qt5/meta-qt5/blob/master/README
Hope this helps,
Best Regards,
Dmitriy Beykun
[-- Attachment #2: Type: text/html, Size: 1801 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 9:41 ` Dmitriy B.
@ 2013-12-12 9:56 ` Handford, Michael
2013-12-12 10:05 ` Marco
1 sibling, 0 replies; 26+ messages in thread
From: Handford, Michael @ 2013-12-12 9:56 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]
Thanks Dimitry,
I've used dora for both unfortunately and still the problem. I'm going to start again from clean and if that fails I'll contact the meta-qt5 maintainers.
Thanks again for the help guys,
Mike.
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Dmitriy B.
Sent: 12 December 2013 09:42
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] Qt5 with Yocto
Hi Alfonso,
you forgot to specify the branch you used on each layer.
Regards,
--
Marco
Since Alfonso didn't answer for couple of days, I will. Use the dora branch for *both* fsl-community-bsp-platform (when initializing your Yocto) and meta-qt5. If you try to run meta-qt5 master branch - it will fail to build with missing packages.
I just built minimal image without X11 and with qt5 as the manual suggests. EXTRA_IMAGE_FEATURES and IMAGE_INSTALL_append seem to work on dora branch.
Still didn't find time to test it on real board, but at least it builds without errors, my previous try couple months ago ended up with qt not building at all (errors with EGL integration and etc).
If you will have horrible errors with meta-qt5 like packages not being found or other issues like that - write directly to meta-qt5 maintainers as README suggests https://github.com/meta-qt5/meta-qt5/blob/master/README
Hope this helps,
Best Regards,
Dmitriy Beykun
[-- Attachment #2: Type: text/html, Size: 5697 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 9:32 ` Handford, Michael
@ 2013-12-12 10:01 ` Marco
2013-12-12 10:26 ` Handford, Michael
0 siblings, 1 reply; 26+ messages in thread
From: Marco @ 2013-12-12 10:01 UTC (permalink / raw)
To: meta-freescale
Il 12/12/2013 10:32, Handford, Michael ha scritto:
> Hi Marco,
>
> I added 'meta-qt5' to my current bblayers.conf only so my bblayers.conf looks like this:
>
> -----------------------------------------------------------------------------------
> LCONF_VERSION = "6"
>
> BBPATH = "${TOPDIR}"
> BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
>
> BBFILES ?= ""
> #BBLAYERS = " \
> # ${BSPDIR}/sources/poky/meta \
> # ${BSPDIR}/sources/poky/meta-yocto \
> # \
> # ${BSPDIR}/sources/meta-openembedded/meta-oe \
> # \
> # ${BSPDIR}/sources/meta-fsl-arm \
> # ${BSPDIR}/sources/meta-fsl-arm-extra \
> # ${BSPDIR}/sources/meta-fsl-demos \
> # ${BSPDIR}/sources/meta-qt5 \
> #"
> -----------------------------------------------------------------------------------
>
> Thanks for your help
>
> Mike.
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Marco
> Sent: 12 December 2013 09:24
> To: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] Qt5 with Yocto
>
> Il 12/12/2013 10:01, Handford, Michael ha scritto:
>> Alfonso, can you add which release branch you used?
>>
>> With dora release I too get the 'ssh-server-openssh' not valid feature, was this replaced in Dora?
>> I also get nothing provides 'qtbase', maybe my meta-qt5 layer differs to yours as I've added the layer and features as you put on the wiki?
>>
>> Thanks for documenting this and any help you can give.
>>
>
> Hi Mike,
> have you added the new layers to bblayers.conf ?
> I mean includeing meta-openembedded too?
> Can you share it?
>
> Regards,
>
Looks like you commented out everything with '#'
This is mine
---------------
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/koan/yocto/poky/meta \
/home/koan/yocto/poky/meta-yocto \
/home/koan/yocto/poky/meta-yocto-bsp \
/home/koan/yocto/poky/meta-openembedded/meta-oe \
/home/koan/yocto/poky/meta-fsl-arm \
/home/koan/yocto/poky/meta-qt5 \
"
-------------
Cordiali Saluti / Kindest Regards / Mit freundlichen Grüßen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
http://www.KaeilOS.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 9:41 ` Dmitriy B.
2013-12-12 9:56 ` Handford, Michael
@ 2013-12-12 10:05 ` Marco
2013-12-12 22:21 ` Dmitriy B.
1 sibling, 1 reply; 26+ messages in thread
From: Marco @ 2013-12-12 10:05 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Il 12/12/2013 10:41, Dmitriy B. ha scritto:
> Still didn't find time to test it on real board, but at least it builds
> without errors, my previous try couple months ago ended up with qt not
> building at all (errors with EGL integration and etc).
Hi Dmitriy,
in fact on real iMXDLsabre board doesn't work.
Regards,
--
Marco
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 10:01 ` Marco
@ 2013-12-12 10:26 ` Handford, Michael
0 siblings, 0 replies; 26+ messages in thread
From: Handford, Michael @ 2013-12-12 10:26 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Well that's embarrassing!
This is going to be one of those days :(
Even pasting the file in to an email and I didn't spot the obvious, wish I had syntax highlighting which might have helped.
Thanks again,
Dumb person.
-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Marco
Sent: 12 December 2013 10:02
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] Qt5 with Yocto
Il 12/12/2013 10:32, Handford, Michael ha scritto:
> Hi Marco,
>
> I added 'meta-qt5' to my current bblayers.conf only so my bblayers.conf looks like this:
>
> -----------------------------------------------------------------------------------
> LCONF_VERSION = "6"
>
> BBPATH = "${TOPDIR}"
> BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
>
> BBFILES ?= ""
> #BBLAYERS = " \
> # ${BSPDIR}/sources/poky/meta \
> # ${BSPDIR}/sources/poky/meta-yocto \
> # \
> # ${BSPDIR}/sources/meta-openembedded/meta-oe \
> # \
> # ${BSPDIR}/sources/meta-fsl-arm \
> # ${BSPDIR}/sources/meta-fsl-arm-extra \
> # ${BSPDIR}/sources/meta-fsl-demos \
> # ${BSPDIR}/sources/meta-qt5 \
> #"
> -----------------------------------------------------------------------------------
>
> Thanks for your help
>
> Mike.
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Marco
> Sent: 12 December 2013 09:24
> To: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] Qt5 with Yocto
>
> Il 12/12/2013 10:01, Handford, Michael ha scritto:
>> Alfonso, can you add which release branch you used?
>>
>> With dora release I too get the 'ssh-server-openssh' not valid feature, was this replaced in Dora?
>> I also get nothing provides 'qtbase', maybe my meta-qt5 layer differs to yours as I've added the layer and features as you put on the wiki?
>>
>> Thanks for documenting this and any help you can give.
>>
>
> Hi Mike,
> have you added the new layers to bblayers.conf ?
> I mean includeing meta-openembedded too?
> Can you share it?
>
> Regards,
>
Looks like you commented out everything with '#'
This is mine
---------------
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/koan/yocto/poky/meta \
/home/koan/yocto/poky/meta-yocto \
/home/koan/yocto/poky/meta-yocto-bsp \
/home/koan/yocto/poky/meta-openembedded/meta-oe \
/home/koan/yocto/poky/meta-fsl-arm \
/home/koan/yocto/poky/meta-qt5 \
"
-------------
Cordiali Saluti / Kindest Regards / Mit freundlichen Grüßen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
http://www.KaeilOS.com
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 10:05 ` Marco
@ 2013-12-12 22:21 ` Dmitriy B.
0 siblings, 0 replies; 26+ messages in thread
From: Dmitriy B. @ 2013-12-12 22:21 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
>
> Hi Dmitriy,
> in fact on real iMXDLsabre board doesn't work.
Can you provide the logs? I will get a chance to test it on imx6 hardware
in couple days.
[-- Attachment #2: Type: text/html, Size: 449 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Qt5 with Yocto
@ 2013-12-12 23:19 Alfonso Tamés
2013-12-13 8:32 ` Marco
0 siblings, 1 reply; 26+ messages in thread
From: Alfonso Tamés @ 2013-12-12 23:19 UTC (permalink / raw)
To: koansoftware; +Cc: meta-freescale
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,
Alfonso
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-12 23:19 Qt5 with Yocto Alfonso Tamés
@ 2013-12-13 8:32 ` Marco
2013-12-13 11:18 ` Alfonso Tamés
0 siblings, 1 reply; 26+ messages in thread
From: Marco @ 2013-12-13 8:32 UTC (permalink / raw)
To: Alfonso Tamés; +Cc: meta-freescale
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
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-13 8:32 ` Marco
@ 2013-12-13 11:18 ` Alfonso Tamés
[not found] ` <BLU171-W13931EBCF1DD9430026D9F4D9D90@phx.gbl>
2013-12-20 17:07 ` Simone
0 siblings, 2 replies; 26+ messages in thread
From: Alfonso Tamés @ 2013-12-13 11:18 UTC (permalink / raw)
To: koansoftware; +Cc: meta-freescale
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@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
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
[not found] ` <BLU171-W13931EBCF1DD9430026D9F4D9D90@phx.gbl>
@ 2013-12-15 19:16 ` Morgan McKenzie
2013-12-15 21:49 ` Philip Craig
0 siblings, 1 reply; 26+ messages in thread
From: Morgan McKenzie @ 2013-12-15 19:16 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 4889 bytes --]
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@mantic.mx
> Date: Fri, 13 Dec 2013 05:18:18 -0600
> To: koansoftware@gmail.com
> CC: meta-freescale@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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
[-- Attachment #2: Type: text/html, Size: 16388 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-15 19:16 ` Morgan McKenzie
@ 2013-12-15 21:49 ` Philip Craig
0 siblings, 0 replies; 26+ messages in thread
From: Philip Craig @ 2013-12-15 21:49 UTC (permalink / raw)
To: Morgan McKenzie; +Cc: meta-freescale@yoctoproject.org
On Mon, Dec 16, 2013 at 5:16 AM, Morgan McKenzie <rmtm@uvic.ca> wrote:
> 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
Put the DISTRO_FEATURES setting in your local.conf or distro conf, not
the image bb.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-13 11:18 ` Alfonso Tamés
[not found] ` <BLU171-W13931EBCF1DD9430026D9F4D9D90@phx.gbl>
@ 2013-12-20 17:07 ` Simone
2013-12-20 17:21 ` Marco
2013-12-20 18:11 ` Alfonso Tamés
1 sibling, 2 replies; 26+ messages in thread
From: Simone @ 2013-12-20 17:07 UTC (permalink / raw)
To: 'Alfonso Tamés'; +Cc: meta-freescale
Hello Alfonso,
I tried to cross compile qt5 for imx6qsabresd following the article at
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
but I have an error during make.
I'm able to build with bitbake, but not In this standard way.
Below the last part of the build log (after configure, which was completed
successfully).
make[3]: Entering directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
arm-poky-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp
--sysroot=/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad -O2 -O2
-mfloat-abi=hard -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
-fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W
-D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DPCRE_HAVE_CONFIG_H -astDQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/devices/linux-imx6-g++ -I.
-I../../include -I../../include/QtCore -I../../include/QtCore/5.1.1
-I../../include/QtCore/5.1.1/QtCore -Iglobal -I../3rdparty/pcre
-I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4
-I../3rdparty/sha3 -I.moc/release-shared
-I/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad/usr/include -o
.obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
Assembler messages:
Fatal error: can't create .obj/release-shared/qabstractanimation.o:
Permission denied
In file included from ../../include/QtCore/qglobal.h:1:0,
from
../../include/QtCore/../../src/corelib/global/qnamespace.h:45,
from ../../include/QtCore/qnamespace.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
from ../../include/QtCore/qobjectdefs.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from animation/qabstractanimation.h:45,
from animation/qabstractanimation.cpp:146:
../../include/QtCore/../../src/corelib/global/qglobal.h:80:21: fatal error:
algorithm: No such file or directory
#include <algorithm>
^
compilation terminated.
make[3]: *** [.obj/release-shared/qabstractanimation.o] Error 2
make[3]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
Any hints?
Thanks
Simone
-----Messaggio originale-----
Da: meta-freescale-bounces@yoctoproject.org
[mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Alfonso Tamés
Inviato: venerdì 13 dicembre 2013 12:18
A: koansoftware@gmail.com
Cc: meta-freescale@yoctoproject.org
Oggetto: 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@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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-20 17:07 ` Simone
@ 2013-12-20 17:21 ` Marco
2013-12-21 14:32 ` Morgan McKenzie
2013-12-27 20:03 ` Simone
2013-12-20 18:11 ` Alfonso Tamés
1 sibling, 2 replies; 26+ messages in thread
From: Marco @ 2013-12-20 17:21 UTC (permalink / raw)
To: meta-freescale
Il 20/12/2013 18:07, Simone ha scritto:
> Hello Alfonso,
> I tried to cross compile qt5 for imx6qsabresd following the article at
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> but I have an error during make.
> I'm able to build with bitbake, but not In this standard way.
> Below the last part of the build log (after configure, which was completed
> successfully).
Hi Simone,
take a look at the other thread and try using Qt-5.2
I haven't had time to test it though...
Ciao
--
Marco
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-20 17:07 ` Simone
2013-12-20 17:21 ` Marco
@ 2013-12-20 18:11 ` Alfonso Tamés
2013-12-27 14:54 ` Simone
1 sibling, 1 reply; 26+ messages in thread
From: Alfonso Tamés @ 2013-12-20 18:11 UTC (permalink / raw)
To: Simone; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 5516 bytes --]
Hi Simone.
<algorithm> is part of the Standard Template Library. I do not now how orthodox this may sound, but try tar czf the contents of your cortex-a9 sysroot located inside your cross toolchain Poky: (xxx because I don’t remember the exact file names) /opt/poky/xxx/sysroots/cortex-a9xxx
Then unpack the contents in your board sysroot (for wandboqard) yocto/build/tmp/sysroots/wandboard-quad
This should put headers and libraries that are needed to cross compile since we are only passing the board sysroot to Qt5’s configure script.
Regards,
Alfonso
On Dec 20, 2013, at 11:07 AM, Simone <cjb.sw.nospam@gmail.com> wrote:
> Hello Alfonso,
> I tried to cross compile qt5 for imx6qsabresd following the article at
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> but I have an error during make.
> I'm able to build with bitbake, but not In this standard way.
> Below the last part of the build log (after configure, which was completed
> successfully).
>
>
> make[3]: Entering directory
> `/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
> /opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
> arm-poky-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp
> --sysroot=/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad -O2 -O2
> -mfloat-abi=hard -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
> -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W
> -D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE
> -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
> -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
> -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
> -DPCRE_HAVE_CONFIG_H -astDQT_CORE_LIB -D_LARGEFILE64_SOURCE
> -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/devices/linux-imx6-g++ -I.
> -I../../include -I../../include/QtCore -I../../include/QtCore/5.1.1
> -I../../include/QtCore/5.1.1/QtCore -Iglobal -I../3rdparty/pcre
> -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4
> -I../3rdparty/sha3 -I.moc/release-shared
> -I/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad/usr/include -o
> .obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
> Assembler messages:
> Fatal error: can't create .obj/release-shared/qabstractanimation.o:
> Permission denied
> In file included from ../../include/QtCore/qglobal.h:1:0,
> from
> ../../include/QtCore/../../src/corelib/global/qnamespace.h:45,
> from ../../include/QtCore/qnamespace.h:1,
> from
> ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
> from ../../include/QtCore/qobjectdefs.h:1,
> from
> ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
> from ../../include/QtCore/qobject.h:1,
> from animation/qabstractanimation.h:45,
> from animation/qabstractanimation.cpp:146:
> ../../include/QtCore/../../src/corelib/global/qglobal.h:80:21: fatal error:
> algorithm: No such file or directory
> #include <algorithm>
> ^
> compilation terminated.
> make[3]: *** [.obj/release-shared/qabstractanimation.o] Error 2
> make[3]: Leaving directory
> `/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
> make[2]: *** [sub-corelib-make_first] Error 2
> make[2]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src'
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase'
> make: *** [module-qtbase-make_first] Error 2
>
>
> Any hints?
> Thanks
> Simone
>
>
> -----Messaggio originale-----
> Da: meta-freescale-bounces@yoctoproject.org
> [mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Alfonso Tamés
> Inviato: venerdì 13 dicembre 2013 12:18
> A: koansoftware@gmail.com
> Cc: meta-freescale@yoctoproject.org
> Oggetto: 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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
[-- Attachment #2: Type: text/html, Size: 7198 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-20 17:21 ` Marco
@ 2013-12-21 14:32 ` Morgan McKenzie
2013-12-27 20:03 ` Simone
1 sibling, 0 replies; 26+ messages in thread
From: Morgan McKenzie @ 2013-12-21 14:32 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1509 bytes --]
HI Alfonso,
I was one of the people having problems in the other thread - I haven't tried getting it to work with the master branch but it did compile 5.1.1 successfully on dora a few days ago (just make sure that both meta-qt5 and the repo are both on dora).
I had the problem with X11 as well and it turned out that it just needed to be reconfigured - I did a bitbake -c clean qt5, then recompiled it and it worked (note that if you have X11 removed it might error out before it does the clean - if so just comment out that line temporarily until you've cleaned it).
Morgan
> Date: Fri, 20 Dec 2013 18:21:39 +0100
> From: koansoftware@gmail.com
> To: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] R: Qt5 with Yocto
>
> Il 20/12/2013 18:07, Simone ha scritto:
> > Hello Alfonso,
> > I tried to cross compile qt5 for imx6qsabresd following the article at
> > http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> > but I have an error during make.
> > I'm able to build with bitbake, but not In this standard way.
> > Below the last part of the build log (after configure, which was completed
> > successfully).
>
>
> Hi Simone,
> take a look at the other thread and try using Qt-5.2
> I haven't had time to test it though...
>
> Ciao
> --
> Marco
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
[-- Attachment #2: Type: text/html, Size: 1964 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-20 18:11 ` Alfonso Tamés
@ 2013-12-27 14:54 ` Simone
0 siblings, 0 replies; 26+ messages in thread
From: Simone @ 2013-12-27 14:54 UTC (permalink / raw)
To: 'Alfonso Tamés'; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 8121 bytes --]
Hello Alfonso,
some steps are done.
Now the make can complete well.
But make install fail, with this error: cannot find -lQt5Designer
Here below the last part of the make output:
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
arm-poky-linux-gnueabi-g++
-Wl,-rpath-link,/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib
--sysroot=/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd
-Wl,--no-undefined -Wl,-O1
-Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib
-Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtbase/lib -shared -o
libqdeclarativeview.so .obj/release-shared/qdeclarativeview_plugin.o
.obj/release-shared/moc_qdeclarativeview_plugin.o
-L/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib
-L/qt-everywhere-opensource-src-5.1.1/qttools/lib -lQt5Designer
-L/qt-everywhere-opensource-src-5.1.1/qtbase/lib
-L/qt-everywhere-opensource-src-5.1.1/qtquick1/lib -lQt5Declarative
-L/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib -lQt5XmlPatterns
-lQt5Network -lQt5Sql -L/qt-everywhere-opensource-src-5.1.1/qtscript/lib
-lQt5Widgets -lQt5Xml -lQt5Script -lQt5Gui -lQt5Core -lGLESv2 -lEGL -lGAL
-lpthread
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld:
cannot find -lQt5Designer
collect2: error: ld returned 1 exit status
make[4]: *** [../../../plugins/designer/libqdeclarativeview.so] Error 1
make[4]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins/qdeclarativeview'
make[3]: *** [sub-qdeclarativeview-install_subtargets] Error 2
make[3]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins'
make[2]: *** [sub-plugins-install_subtargets-ordered] Error 2
make[2]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtquick1/src'
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtquick1'
make: *** [module-qtquick1-install_subtargets] Error 2
Any suggestion?
Thanks so much!
Best regards
Simone
Da: Alfonso Tamés [mailto:alfonso@mantic.mx]
Inviato: venerdì 20 dicembre 2013 19:12
A: Simone
Cc: meta-freescale@yoctoproject.org
Oggetto: Re: [meta-freescale] Qt5 with Yocto
Priorità: Alta
Hi Simone.
<algorithm> is part of the Standard Template Library. I do not now how
orthodox this may sound, but try tar czf the contents of your cortex-a9
sysroot located inside your cross toolchain Poky: (xxx because I dont
remember the exact file names) /opt/poky/xxx/sysroots/cortex-a9xxx
Then unpack the contents in your board sysroot (for wandboqard)
yocto/build/tmp/sysroots/wandboard-quad
This should put headers and libraries that are needed to cross compile since
we are only passing the board sysroot to Qt5s configure script.
Regards,
Alfonso
On Dec 20, 2013, at 11:07 AM, Simone <cjb.sw.nospam@gmail.com
<mailto:cjb.sw.nospam@gmail.com> > wrote:
Hello Alfonso,
I tried to cross compile qt5 for imx6qsabresd following the article at
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
but I have an error during make.
I'm able to build with bitbake, but not In this standard way.
Below the last part of the build log (after configure, which was completed
successfully).
make[3]: Entering directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
arm-poky-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp
--sysroot=/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad -O2 -O2
-mfloat-abi=hard -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
-fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W
-D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DPCRE_HAVE_CONFIG_H -astDQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/devices/linux-imx6-g++ -I.
-I../../include -I../../include/QtCore -I../../include/QtCore/5.1.1
-I../../include/QtCore/5.1.1/QtCore -Iglobal -I../3rdparty/pcre
-I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4
-I../3rdparty/sha3 -I.moc/release-shared
-I/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad/usr/include -o
.obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
Assembler messages:
Fatal error: can't create .obj/release-shared/qabstractanimation.o:
Permission denied
In file included from ../../include/QtCore/qglobal.h:1:0,
from
../../include/QtCore/../../src/corelib/global/qnamespace.h:45,
from ../../include/QtCore/qnamespace.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
from ../../include/QtCore/qobjectdefs.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from animation/qabstractanimation.h:45,
from animation/qabstractanimation.cpp:146:
../../include/QtCore/../../src/corelib/global/qglobal.h:80:21: fatal error:
algorithm: No such file or directory
#include <algorithm>
^
compilation terminated.
make[3]: *** [.obj/release-shared/qabstractanimation.o] Error 2
make[3]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
Any hints?
Thanks
Simone
-----Messaggio originale-----
Da: <mailto:meta-freescale-bounces@yoctoproject.org>
meta-freescale-bounces@yoctoproject.org
[ <mailto:meta-freescale-bounces@yoctoproject.org>
mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Alfonso Tamés
Inviato: venerdì 13 dicembre 2013 12:18
A: <mailto:koansoftware@gmail.com> koansoftware@gmail.com
Cc: <mailto:meta-freescale@yoctoproject.org>
meta-freescale@yoctoproject.org
Oggetto: 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 < <mailto:koansoftware@gmail.com>
koansoftware@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>
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@yoctoproject.org <mailto:meta-freescale@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale
[-- Attachment #2: Type: text/html, Size: 17523 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-20 17:21 ` Marco
2013-12-21 14:32 ` Morgan McKenzie
@ 2013-12-27 20:03 ` Simone
1 sibling, 0 replies; 26+ messages in thread
From: Simone @ 2013-12-27 20:03 UTC (permalink / raw)
To: koansoftware, meta-freescale
Hello Marco,
which thread are you intending?
Ciao
Simone
-----Messaggio originale-----
Da: meta-freescale-bounces@yoctoproject.org
[mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Marco
Inviato: venerdì 20 dicembre 2013 18:22
A: meta-freescale@yoctoproject.org
Oggetto: Re: [meta-freescale] R: Qt5 with Yocto
Il 20/12/2013 18:07, Simone ha scritto:
> Hello Alfonso,
> I tried to cross compile qt5 for imx6qsabresd following the article at
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandbo
> ard
> but I have an error during make.
> I'm able to build with bitbake, but not In this standard way.
> Below the last part of the build log (after configure, which was
> completed successfully).
Hi Simone,
take a look at the other thread and try using Qt-5.2 I haven't had time to
test it though...
Ciao
--
Marco
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Qt5 with Yocto
2013-12-11 8:24 Alfonso Tamés
2013-12-11 8:48 ` Morgan McKenzie
2013-12-11 9:11 ` Marco
@ 2014-01-10 11:39 ` Florian
2 siblings, 0 replies; 26+ messages in thread
From: Florian @ 2014-01-10 11:39 UTC (permalink / raw)
To: meta-freescale
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
Hi!
Thanks for your wiki entry!
I also tried to build it using the instructions mentioned but
adapted them to the imx6sabreauto (changed sysroot in config).
Sadly after a successful config the make doesn't finish. It stops with the
following error:
arm-poky-linux-gnueabi-ld: unrecognized option '-Wl,-O1'
arm-poky-linux-gnueabi-ld: use the --help option
for usage information
make[3]: *** [../../../bin/qdoc] Error 1
make[3]: Leaving directory `/home/Downloads/qt-everyw...-src-
5.1.1/qtbase/src/tools/qdoc'
make[2]: *** [sub-qdoc-make_first] Error 2
make[2]: Leaving directory `/home/Downloads/qt-everyw...-src-
5.1.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/Downloads/qt-everyw...-src-
5.1.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
I saw these "unrecognized option ..." things many times in the
output of make - can anyone help with this issue?
I used also the dora branches for everything as mentioned
on the wiki page. But in my case it is the
latest version.
Thanks alot!
Best regards
Florian
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2014-01-10 11:45 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-12 23:19 Qt5 with Yocto Alfonso Tamés
2013-12-13 8:32 ` Marco
2013-12-13 11:18 ` Alfonso Tamés
[not found] ` <BLU171-W13931EBCF1DD9430026D9F4D9D90@phx.gbl>
2013-12-15 19:16 ` Morgan McKenzie
2013-12-15 21:49 ` Philip Craig
2013-12-20 17:07 ` Simone
2013-12-20 17:21 ` Marco
2013-12-21 14:32 ` Morgan McKenzie
2013-12-27 20:03 ` Simone
2013-12-20 18:11 ` Alfonso Tamés
2013-12-27 14:54 ` Simone
-- strict thread matches above, loose matches on Subject: below --
2013-12-11 8:24 Alfonso Tamés
2013-12-11 8:48 ` Morgan McKenzie
2013-12-11 9:37 ` Marco
2013-12-12 9:01 ` Handford, Michael
2013-12-12 9:23 ` Marco
2013-12-12 9:32 ` Handford, Michael
2013-12-12 10:01 ` Marco
2013-12-12 10:26 ` Handford, Michael
2013-12-11 9:11 ` Marco
2013-12-12 9:41 ` Dmitriy B.
2013-12-12 9:56 ` Handford, Michael
2013-12-12 10:05 ` Marco
2013-12-12 22:21 ` Dmitriy B.
2014-01-10 11:39 ` Florian
2013-12-10 23:34 Morgan McKenzie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.