Sunghoahn 2006
Sunghoahn 2006
Abstract - In this paper, we just glance at the Qt and GTK, Qt is the graphic library that is developed by Trolltech. Qt is
which are representatives of graphic library for embedded linux composed of widget sets based on K Desktop Environment
system. And we also show what is the GTK+ in developing the (KDE) project. Any application used Qt is executed on any
software for the embedded system and its features and processor, if it is just re-compiled on that. That means Qt
components. We describe the implementation of the lightweight support the multi platform GUI. And it also support the not
GTK builder, which generates the proper graphic library to any
special embedded linux system and also analyzes any GTK
application's graphic library.
ol hD bu t3grpicnan interntonalizationa etc.
Qt has the concept of signal slot for communication between
each objects.
Keywords -Lightweight, Qt, GTK+, Embedded System By the way, Qt/Embedded is the customized graphic library,
which is proper to the embedded system. Qt/Embedded also
support the multiplatform GUI as like Qt. In other words, if it
provided the C++ compiler and used the embedded linux, then
1. Introduction it could be loaded on various platform such as X86, MIPS,
ARM, StrongARM, Motorola 68k and PowerPC.
Embedded software is very dependent to hardware of Continuously, it is developed for supporting QNX and/or
products because each product needs each feature different WinCE.
between them in view of its specification. Furthermore, even
though software proper to the special CPU is developed it
can't be supported to the other embedded system. So we need I
the embedded software developing technology, which should
be independent to the various hardware features and be fast in
developing the suitable embedded software.
Considering the point of view of developer, lastly used
software is the graphic library. So traditionally, there are
existed graphic libraries that are already fitted to the special
embedded system, or from the first time, developed to be
proper to the special system. In other words, today according
to the embedded system, the graphic library is variously
developed.
In general desktop linux system, so much used graphic
libraries are QT and GTK+, what can be also used in Figure 1. Structure of Qt/Xii and Qt/Embedded
embedded linux system because the embedded linux system is
core of general desktop linux system. QT developed by Figure 1 show the comparison of structure of Qt/X1 1 and
Trolltech is not free, i.e. we have to pay the license fee for Qt/Embedded. Qt/Embedded has more compacted its own
using QT, the other hand GTK+ is free, i.e. there is no license window system than Qt/X1 1 has one. Also Qt/Embedded can
fee about GTK+, which is supported by Open Source Group. execute the application just to access directly to the frame
This paper, according to the above, describes the generating buffer of kernel.
technology of proper graphic library for the embedded system,
and simultaneously should be independent to the embedded
system. Specially, in this paper, we deal with the GTK+ 2.0 2.2 GTK+
graphic library also in view of lightening graphic library.
GTK± was originated from some widgets set, that is a
2. GraphicLibrary
2. Graph1c
L1brary toolkit for
~Program x window based GNU Image Manipulation
(GIMP). GTK± is a multiplatform graphic library to
support the linux system, windows, BeOS, etc. and to support
2.1 Qt a range of languages, C/C++ but Perl, Python. And GTK+ is
free software and part of the GNU Project. However, the
supportdmultipleawindowing systems.DThisdlibrary.also
GdK-
2.2.1 isa t abstractimala library whaiallows
GTk±Pxu GstK
cato
ixel
GTK±~ ~ ~ ~ ~ ~ ~~~~~~~~~~~
widets cotan~Fgr
itselfch
thadiseGUlibar
use this library in combination with Gtklmage to display are dealing with. In other words, to reduce the GTK± widget
images. set, we can get the lightweight GTK library. And that is proper
to the applications of embedded system. Because mostly GTK
2.2.4 Glib widget set has lower dependency than other library as like Glib
Glib is the low-level core library, which forms the basis of ATK, Pango. So in this paper, we just focus on the GTK+
GTK+ and GNU Network Object Model Environ,ent widget.
(GNOME). It provides data structure handling for C, Furthermore, it is easily extended to the higher version of
portability wrappers, and interfaces for such runtime GTK±, above the 2.0, even though there is no compliant
functionality as an event loop, threads, dynamic loading, and between GTK± 2.0 and 1.2.
an object system.
2.2.5 ATK
ATK library provides a set of interfaces for accessibility. By 3. Lightweight GTK Builder
supporting the ATK interfaces, an application or toolkit can be
3.1 Structure
Widget
***and Nube
Total
*
Size
SI
bet Order)
(Tree Structure)
Lightweight
Generation Proocedure
lightweight GTK builder window. couse, we can easily update the GTK info-file according to the
3.1.3 Generation Module GTK version-up.
REFERENCES