[yocto] How to compile Qt library with bitbake?

Li, Simon simon.li at intel.com
Thu Mar 31 23:15:41 PDT 2011


Hi, Saul,
Thanks for your reply. However, I got error messages as below:
It seems not support "poky-image-sato-sdk"
=====================================
simonli at simonli-Aspire-2930:~/Yocto_related/pocky-4.0-build$ bitbake poky-image-sato-sdk
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Handling BitBake files: \ (0844/0844) [100 %]
Parsing of 844 .bb files complete (791 cached, 53 parsed). 997 targets, 34 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "<unknown>"
METADATA_REVISION = "<unknown>"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "0.9"
TARGET_FPU        = ""

ERROR: Nothing PROVIDES 'poky-image-sato-sdk'
Command execution failed: Traceback (most recent call last):
  File "/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py", line 88, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py", line 184, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File "/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/cooker.py", line 756, in buildTargets
    taskdata.add_provider(localdata, self.status, k)
  File "/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py", line 354, in add_provider
    self.add_provider_internal(cfgData, dataCache, item)
  File "/home/simonli/Yocto_related/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py", line 374, in add_provider_internal
    raise bb.providers.NoProvider(item)
NoProvider: poky-image-sato-sdk
=====================================
Best Regards,

Simon


-----Original Message-----
From: Wold, Saul 
Sent: Friday, April 01, 2011 12:37 AM
To: Li, Simon
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] How to compile Qt library with bitbake?

On 03/30/2011 11:52 PM, 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.
>
Simon,

Qt4 is part of the yocto meta data.

The poky-image-sato-sdk image contains the qt4-pkgs, so you can use the
following command to build the image:

bitbake poky-image-sato-sdk

Sau!


> If not, is there any document to describe how to complie Qt with bitbake?
>
> Best Regards,
>
> Simon Li
>
> Intel Software & Service Group
>
> B1 #205 Tun-Hwa North Rd, Taipei, Taiwan
>
> Desk
>
> 	
>
> +886-2-2514-4287
>
> Mobile
>
> 	
>
> +886-987-303-523
>
> E-Mail
>
> 	
>
> simon.li at intel.com <mailto:gorden.nieh at intel.com>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list