Hi Oolav

Thank you for the reply.
I can build any image without any issues on Yocto and I have an image build from this recipe https://blog.guh.guru/tech/crosscompile-qt-5-2-1-for-bbb/ I have also an image build from scott ellis http://www.jumpnowtek.com/beaglebone/BeagleBone-Systems-with-Yocto.html

So the problem is not the image

I need to understand the flow diagram of how to cross compile. When is it target and when is it host. In a nutshell, I need to get QT Creator to work so that I can debug on the target and compile on the host.

I know it sounds silly but the picture is not clear. I need to understand the relationship between target and host and what files belongs where for each. I think I have this mixed up as I get errors that say "cannot execute - format incorrect"



------ Original Message ------
From: "Oolav" <[email protected]>
To: "BeagleBoard" <[email protected]>
Sent: 2016-01-08 20:46:28
Subject: [beagleboard] Re: QT setup for host and target tutorial that actually works

Hi Marius,

I understand your frustration, it is indeed quite a maze quest to get things working with qt and yocto. And I am afraid there is no such thing as a single guide that covers everything for the start.

But still, to me, yocto is the best way to get a qt cross-compile environment. I have successfully achieved what you describe with a raspberry pi (B, B+ and 2 actually).

So maybe I can help... Where are you stuck ?

What version of yocto do you use ? I would advise against using anything above 1.8.1 for now.
What layers ?
did bitbake whatever-image suceeded ?
I personally use meta-qt5 recipes instead of the yocto ones for qt5. There is an important file to edit in the layer (qbase.inc if my memory is correct), mostly to add "icu" somewhere.
did you bitbake meta-toolchain ?
did you bitbake meta-toolchain-qt5 ?
did you run the setup environnement script (in tmp/deploy/sdk) ?

then there is a trick to get qtcreator working correctly with your cross compiling environment.

Let me know !

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to