[yocto] Yocto and Qt embedded

Giovanni Foiani fnognn at unife.it
Thu Jul 26 07:48:11 PDT 2012


I solved adding in my setup-environment script all enviroment variable
related to Qt (I used paths generated by meta-toolchain-qte).

Then sourcing this environment and running into my project directory:

   - qmake2
   - make

I can successfully build Qt applications..

I still can't configure the environment to run using qt creator...

Giovanni
--

Dott. Ing. Giovanni Foiani

Cell:        +39-349-3577515
Phone:    +39-0532-97-4106
mail:        giovanni.foiani at unife.it
CenTec - Corso Guercino, 47 - 44042 Cento (FE)



On Wed, Jul 25, 2012 at 4:46 PM, Giovanni Foiani <fnognn at unife.it> wrote:

> I also tried to point to a qmake file under the Yocto build tree but it is
> not correct..
>
> Is there a way to compile the Qt application out of Qt creator?
> For example sourcing the arm environment and running make into the
> application folder?
>
> Thanks
>
> Giovanni
> --
>
> Dott. Ing. Giovanni Foiani
>
> Cell:        +39-349-3577515
> Phone:    +39-0532-97-4106
> mail:        giovanni.foiani at unife.it
> CenTec - Corso Guercino, 47 - 44042 Cento (FE)
>
>
>
> On Mon, Jul 16, 2012 at 1:56 PM, Giovanni Foiani <fnognn at unife.it> wrote:
>
>> Thanks Khem,
>> I successfully found g++ compiler path which is:
>>
>>
>> /opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
>>
>> now I was able to configure the poky tool chain into Qt creator (using
>> default mkspec which is linux-g++); after that I tried to configure Qt
>> Version (4.7.4) in Qt creator using the following qmake file:
>>
>> /opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/bin/qmake
>>
>> Now Qt creator gives me a warning:
>>
>> *"ABI detection failed: Make sure to use a matching tool chain when
>> building"*
>> *
>> *
>> ABI is automatically set to arm-linux-generic-elf and this warning
>> prevents me to select arm tool chain for building my application.
>> Am I using the wrong mkspec? (The other ones seems unsuitable for me..)
>>
>> Thanks
>>
>> Giovanni
>> --
>>
>> Dott. Ing. Giovanni Foiani
>>
>> Cell:        +39-349-3577515
>> Phone:    +39-0532-97-4106
>> mail:        giovanni.foiani at unife.it
>> CenTec - Corso Guercino, 47 - 44042 Cento (FE)
>>
>>
>>
>> On Sat, Jul 14, 2012 at 8:17 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>
>>> On Sat, Jul 14, 2012 at 3:15 AM, Giovanni Foiani <fnognn at unife.it>
>>> wrote:
>>> > So I tried to find g++ compiler using "find" command, into:
>>> >
>>> > /opt/poky/1.2.1/sysroots/i686-pokysdk-linux/
>>> >
>>> > with no success.
>>>
>>> find "*g++"
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120726/26b71350/attachment.html>


More information about the yocto mailing list