* Qt4 minimal subset
@ 2012-04-10 15:36 Patrick
2012-04-10 15:43 ` Paul Eggleton
0 siblings, 1 reply; 8+ messages in thread
From: Patrick @ 2012-04-10 15:36 UTC (permalink / raw)
To: poky
Dear mailinglist,
I am working with yocto 1.1.1, poky 6.0.1. Until now I have build an
embedded systems without display. Now I would like to add support for a
small screen with Qt.
I have added to my image the qt4-x11-free recipes. This include so many
things that I don't need as I am building an embedded system: Demos,
example, docs, dev tools, ...
Which recipes could I use to include a working subset of Qt with X11
that include only base libraries and eventually some additional elements.
Thanks in advance for your help !
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-10 15:36 Qt4 minimal subset Patrick
@ 2012-04-10 15:43 ` Paul Eggleton
2012-04-10 15:56 ` Patrick
0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2012-04-10 15:43 UTC (permalink / raw)
To: Patrick; +Cc: poky
On Tuesday 10 April 2012 17:36:17 Patrick wrote:
> I am working with yocto 1.1.1, poky 6.0.1. Until now I have build an
> embedded systems without display. Now I would like to add support for a
> small screen with Qt.
>
> I have added to my image the qt4-x11-free recipes. This include so many
> things that I don't need as I am building an embedded system: Demos,
> example, docs, dev tools, ...
>
> Which recipes could I use to include a working subset of Qt with X11
> that include only base libraries and eventually some additional elements.
When we package Qt, it is split into a number of packages for individual
components; however if you install the qt4-x11-free *package* in your image,
this pulls in everything. What you probably want to do is have a look at the
packages it does produce and only include those that you need in your image
rather than the qt4-x11-free package.
One way to get a list of the packages produced is to look in tmp/work/*/qt4-
x11-free*/packages-split/.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-10 15:43 ` Paul Eggleton
@ 2012-04-10 15:56 ` Patrick
2012-04-10 16:05 ` Paul Eggleton
0 siblings, 1 reply; 8+ messages in thread
From: Patrick @ 2012-04-10 15:56 UTC (permalink / raw)
To: Paul Eggleton; +Cc: poky
On 04/10/2012 05:43 PM, Paul Eggleton wrote:
> On Tuesday 10 April 2012 17:36:17 Patrick wrote:
>> I am working with yocto 1.1.1, poky 6.0.1. Until now I have build an
>> embedded systems without display. Now I would like to add support for a
>> small screen with Qt.
>>
>> I have added to my image the qt4-x11-free recipes. This include so many
>> things that I don't need as I am building an embedded system: Demos,
>> example, docs, dev tools, ...
>>
>> Which recipes could I use to include a working subset of Qt with X11
>> that include only base libraries and eventually some additional elements.
>
> When we package Qt, it is split into a number of packages for individual
> components; however if you install the qt4-x11-free *package* in your image,
> this pulls in everything. What you probably want to do is have a look at the
> packages it does produce and only include those that you need in your image
> rather than the qt4-x11-free package.
>
> One way to get a list of the packages produced is to look in tmp/work/*/qt4-
> x11-free*/packages-split/.
>
> Cheers,
> Paul
>
Thanks Paul for your quick answers.
I was wondering if a "meta" package like qt4-x11-free was available with
a smaller subset, including the most used package of Qt.
On aditional question; is it possible to build Qt with directFB instead
X11 ? If yes how should I do ?
Thanks again for your help
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-10 15:56 ` Patrick
@ 2012-04-10 16:05 ` Paul Eggleton
2012-04-11 7:52 ` Patrick
0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2012-04-10 16:05 UTC (permalink / raw)
To: Patrick; +Cc: poky
On Tuesday 10 April 2012 17:56:06 Patrick wrote:
> I was wondering if a "meta" package like qt4-x11-free was available with
> a smaller subset, including the most used package of Qt.
Well, "most used" is somewhat subjective - it depends on what you're doing. We
don't have any smaller package group for Qt - perhaps we should look at adding
some additional package groupings in future though.
> On aditional question; is it possible to build Qt with directFB instead
> X11 ? If yes how should I do ?
Yes, to do this, bitbake qt4-embedded instead of qt4-x11-free. Your
application recipes (if you have any) should "inherit qt4e" rather than
"inherit qt4x11" in this case, as the library names are different.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-10 16:05 ` Paul Eggleton
@ 2012-04-11 7:52 ` Patrick
2012-04-11 9:08 ` Paul Eggleton
0 siblings, 1 reply; 8+ messages in thread
From: Patrick @ 2012-04-11 7:52 UTC (permalink / raw)
To: Paul Eggleton; +Cc: poky
On 04/10/2012 06:05 PM, Paul Eggleton wrote:
> On Tuesday 10 April 2012 17:56:06 Patrick wrote:
>> I was wondering if a "meta" package like qt4-x11-free was available with
>> a smaller subset, including the most used package of Qt.
>
> Well, "most used" is somewhat subjective - it depends on what you're doing. We
> don't have any smaller package group for Qt - perhaps we should look at adding
> some additional package groupings in future though.
>
>> On aditional question; is it possible to build Qt with directFB instead
>> X11 ? If yes how should I do ?
>
> Yes, to do this, bitbake qt4-embedded instead of qt4-x11-free. Your
> application recipes (if you have any) should "inherit qt4e" rather than
> "inherit qt4x11" in this case, as the library names are different.
>
> Cheers,
> Paul
>
Thanks again for your answer. I have rebuild qt with DirectFB using
qt4-embedded. I could start a Qt application on my board using QWS (test
-qws). Is that right to start DirectFB or should I use another way ?
I just would like to be sure that DirectFB is used and not simply the
Linux framebuffer.
Thanks for your help
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-11 7:52 ` Patrick
@ 2012-04-11 9:08 ` Paul Eggleton
2012-04-12 12:04 ` Patrick
0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2012-04-11 9:08 UTC (permalink / raw)
To: Patrick; +Cc: poky
On Wednesday 11 April 2012 09:52:38 Patrick wrote:
> Thanks again for your answer. I have rebuild qt with DirectFB using
> qt4-embedded. I could start a Qt application on my board using QWS (test
> -qws). Is that right to start DirectFB or should I use another way ?
> I just would like to be sure that DirectFB is used and not simply the
> Linux framebuffer.
At this point I'd have to refer you to the Qt documentation, particularly the
first link:
http://qt-project.org/doc/qt-4.8/qt-embedded-displaymanagement.html
http://qt-project.org/doc/qt-4.8/qt-embeddedlinux-directfb.html
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-11 9:08 ` Paul Eggleton
@ 2012-04-12 12:04 ` Patrick
2012-04-12 13:12 ` Patrick
0 siblings, 1 reply; 8+ messages in thread
From: Patrick @ 2012-04-12 12:04 UTC (permalink / raw)
To: Paul Eggleton; +Cc: poky
On 04/11/2012 11:08 AM, Paul Eggleton wrote:
> On Wednesday 11 April 2012 09:52:38 Patrick wrote:
>> Thanks again for your answer. I have rebuild qt with DirectFB using
>> qt4-embedded. I could start a Qt application on my board using QWS (test
>> -qws). Is that right to start DirectFB or should I use another way ?
>> I just would like to be sure that DirectFB is used and not simply the
>> Linux framebuffer.
>
> At this point I'd have to refer you to the Qt documentation, particularly the
> first link:
>
> http://qt-project.org/doc/qt-4.8/qt-embedded-displaymanagement.html
> http://qt-project.org/doc/qt-4.8/qt-embeddedlinux-directfb.html
>
> Cheers,
> Paul
>
One more question about Qt with poky;
Qt embedded work now on my target and I could easily compile some
application based on it using bitbake.
I would like now to add the possibility to compile Qt based application
from the "SDK". I have added the different -dev version of Qt to the
"SDK" but qmake is missing. How could I add a working "cross" version of
qmake ?
Thanks in advance for your help
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt4 minimal subset
2012-04-12 12:04 ` Patrick
@ 2012-04-12 13:12 ` Patrick
0 siblings, 0 replies; 8+ messages in thread
From: Patrick @ 2012-04-12 13:12 UTC (permalink / raw)
To: poky
On 04/12/2012 02:04 PM, Patrick wrote:
> On 04/11/2012 11:08 AM, Paul Eggleton wrote:
>> On Wednesday 11 April 2012 09:52:38 Patrick wrote:
>>> Thanks again for your answer. I have rebuild qt with DirectFB using
>>> qt4-embedded. I could start a Qt application on my board using QWS (test
>>> -qws). Is that right to start DirectFB or should I use another way ?
>>> I just would like to be sure that DirectFB is used and not simply the
>>> Linux framebuffer.
>>
>> At this point I'd have to refer you to the Qt documentation,
>> particularly the
>> first link:
>>
>> http://qt-project.org/doc/qt-4.8/qt-embedded-displaymanagement.html
>> http://qt-project.org/doc/qt-4.8/qt-embeddedlinux-directfb.html
>>
>> Cheers,
>> Paul
>>
>
> One more question about Qt with poky;
>
> Qt embedded work now on my target and I could easily compile some
> application based on it using bitbake.
>
> I would like now to add the possibility to compile Qt based application
> from the "SDK". I have added the different -dev version of Qt to the
> "SDK" but qmake is missing. How could I add a working "cross" version of
> qmake ?
>
> Thanks in advance for your help
>
> Patrick
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
Ok I have found that I have to use the meta-toolchain-qte recipe.
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-04-12 13:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 15:36 Qt4 minimal subset Patrick
2012-04-10 15:43 ` Paul Eggleton
2012-04-10 15:56 ` Patrick
2012-04-10 16:05 ` Paul Eggleton
2012-04-11 7:52 ` Patrick
2012-04-11 9:08 ` Paul Eggleton
2012-04-12 12:04 ` Patrick
2012-04-12 13:12 ` Patrick
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.