[yocto] How to compile Qt library with bitbake?

Gary Thomas gary at mlbassoc.com
Fri Apr 1 03:15:33 PDT 2011


On 04/01/2011 12:37 AM, Li, Simon wrote:
> Hi, Gary,
> Yes, it works. However, after build finished, I still cann't find any libQt* files.

Where did you look (what packages did you install)?

Just add this line to your config:
   IMAGE_FEATURES += "qt4-pkgs"
This should then build an image which has the QT4 package set.

You could also install them individually, but there are quite a few...

> -----Original Message-----
> From: Gary Thomas [mailto:gary at mlbassoc.com]
> Sent: Friday, April 01, 2011 12:35 AM
> To: Li, Simon
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] How to compile Qt library with bitbake?
>
> On 03/31/2011 12:52 AM, Li, Simon wrote:
>> To whom may concern,
>>
>> Since Qt library is not existed in the default build configuration, I have to port it by myself.
>>
>> Is there any plan to compile Qt in the Yocto? I cannot find Qt with zypper as well.
>>
>> If not, is there any document to describe how to complie Qt with bitbake?
>
> There are recipes for QT4 in the mainline Poky tree.  Just build via:
>     bitbake qt4-x11-free
>      -or-
>     bitbake qt4-embedded
>
> These work fine for me.
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list