* How to compile Qt library with bitbake?
@ 2011-03-31 6:52 Li, Simon
2011-03-31 16:34 ` Gary Thomas
2011-03-31 16:36 ` Saul Wold
0 siblings, 2 replies; 7+ messages in thread
From: Li, Simon @ 2011-03-31 6:52 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
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?
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@intel.com<mailto:gorden.nieh@intel.com>
[-- Attachment #2: Type: text/html, Size: 8806 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to compile Qt library with bitbake?
2011-03-31 6:52 How to compile Qt library with bitbake? Li, Simon
@ 2011-03-31 16:34 ` Gary Thomas
2011-04-01 6:37 ` Li, Simon
2011-03-31 16:36 ` Saul Wold
1 sibling, 1 reply; 7+ messages in thread
From: Gary Thomas @ 2011-03-31 16:34 UTC (permalink / raw)
To: Li, Simon; +Cc: yocto@yoctoproject.org
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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to compile Qt library with bitbake?
2011-03-31 6:52 How to compile Qt library with bitbake? Li, Simon
2011-03-31 16:34 ` Gary Thomas
@ 2011-03-31 16:36 ` Saul Wold
2011-04-01 6:15 ` Li, Simon
1 sibling, 1 reply; 7+ messages in thread
From: Saul Wold @ 2011-03-31 16:36 UTC (permalink / raw)
To: Li, Simon; +Cc: yocto@yoctoproject.org
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@intel.com <mailto:gorden.nieh@intel.com>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to compile Qt library with bitbake?
2011-03-31 16:36 ` Saul Wold
@ 2011-04-01 6:15 ` Li, Simon
2011-04-01 8:12 ` Saul Wold
0 siblings, 1 reply; 7+ messages in thread
From: Li, Simon @ 2011-04-01 6:15 UTC (permalink / raw)
To: Wold, Saul; +Cc: yocto@yoctoproject.org
Hi, Saul,
Thanks for your reply. However, I got error messages as below:
It seems not support "poky-image-sato-sdk"
=====================================
simonli@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@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@intel.com <mailto:gorden.nieh@intel.com>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to compile Qt library with bitbake?
2011-03-31 16:34 ` Gary Thomas
@ 2011-04-01 6:37 ` Li, Simon
2011-04-01 10:15 ` Gary Thomas
0 siblings, 1 reply; 7+ messages in thread
From: Li, Simon @ 2011-04-01 6:37 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto@yoctoproject.org
Hi, Gary,
Yes, it works. However, after build finished, I still cann't find any libQt* files.
Best Regards,
Simon
-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Friday, April 01, 2011 12:35 AM
To: Li, Simon
Cc: yocto@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to compile Qt library with bitbake?
2011-04-01 6:15 ` Li, Simon
@ 2011-04-01 8:12 ` Saul Wold
0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2011-04-01 8:12 UTC (permalink / raw)
To: Li, Simon; +Cc: yocto@yoctoproject.org
On 03/31/2011 11:15 PM, Li, Simon wrote:
> Hi, Saul,
> Thanks for your reply. However, I got error messages as below:
> It seems not support "poky-image-sato-sdk"
Simon for 0.9 version then it would be poky-image-sdk, we changed the
image name in 1.0. Sorry for the confusion.
Sau!
> =====================================
> simonli@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@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@intel.com<mailto:gorden.nieh@intel.com>
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to compile Qt library with bitbake?
2011-04-01 6:37 ` Li, Simon
@ 2011-04-01 10:15 ` Gary Thomas
0 siblings, 0 replies; 7+ messages in thread
From: Gary Thomas @ 2011-04-01 10:15 UTC (permalink / raw)
To: Li, Simon; +Cc: yocto@yoctoproject.org
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@mlbassoc.com]
> Sent: Friday, April 01, 2011 12:35 AM
> To: Li, Simon
> Cc: yocto@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-04-01 10:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-31 6:52 How to compile Qt library with bitbake? Li, Simon
2011-03-31 16:34 ` Gary Thomas
2011-04-01 6:37 ` Li, Simon
2011-04-01 10:15 ` Gary Thomas
2011-03-31 16:36 ` Saul Wold
2011-04-01 6:15 ` Li, Simon
2011-04-01 8:12 ` Saul Wold
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.