looking for recommendation for lightweight GUI lib
Peter Haijen
openembedded at haijen.be
Thu Oct 16 07:31:14 UTC 2008
Thank you for your input.
I decided to give X/Kdrive a go, and it seems small enough.
In combination with the supported Qt4/X11, it was fairly easy to build a
demo GUI app image using OE.
When time permits I might try DirectFB/LiTE, or maybe even ClanLib, but for
now I'm good to go.
Thanks for the input.
Peter
On Tue, Oct 14, 2008 at 1:06 PM, Cliff Brake <cliff.brake at gmail.com> wrote:
> On Tue, Oct 14, 2008 at 4:18 AM, Peter Haijen <openembedded at haijen.be>
> wrote:
> > Hi there,
> >
> > I am working on an openembedded based image for use in a small-footprint
> > device with an lcd.
> > I need to implement a very simple GUI on this.
> > Full support for an X server seems overkill, I think something more
> > lightweight would be appropriate, because memory is very limited and this
> > will be a one-application kind of device anyway.
> > Framebuffer support is available, I think (Tux smiles at me and kernel
> boot
> > messages are displayed).
>
> X is smaller than you might think -- the Kdrive version of X
> (http://en.wikipedia.org/wiki/KDrive) is fairly small (about 940KB),
> but probable requires another MB or so in libs.
>
> I typically use GTK+, but once you add Glib, GTK, GDK, etc, you are
> talking another 5MB or so in libraries, but even that is fairly small
> considering what they give you.
>
> DirectFB and its LiTE toolbox engine might be enough. I've never used
> it it -- just heard of others using it. It is no doubt smaller than
> GTK+X.
>
> Qt embedded includes support to run directly on a framebuffer (no X).
>
> You can also just implement your own toolkit directly on top of the
> framebuffer as is done in psplash (http://labs.o-hand.com/psplash/).
>
> I'm sure there are other options ...
>
> > Which would be the fastest path towards having an open library available
> on
> > my device which I could use to implement a simple "hello world"-style GUI
> > program on this setup?
> > Is there a recommended image.bb file available which would build the
> > required software (and not too much more) which I can use?
>
> Create your own custom image using the angstrom distro and the
> minimal-image image recipe and add the components you need. See
> http://bec-systems.com/web/content/view/79/9/ for ideas on how to
> create your own custom image.
>
> Cliff
>
> --
> =======================
> Cliff Brake
> http://bec-systems.com
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20081016/60cbb661/attachment-0002.html>
More information about the Openembedded-users
mailing list