From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] GTK vs Qt
Date: Tue, 20 Nov 2012 10:01:05 +0100 [thread overview]
Message-ID: <20121120100105.4cafd18d@skate> (raw)
In-Reply-To: <1353393604.95219.YahooMailNeo@web164605.mail.gq1.yahoo.com>
Dear Zoran Djordjevic,
On Mon, 19 Nov 2012 22:40:04 -0800 (PST), Zoran Djordjevic wrote:
> When I run GTK demo programs on my ARM board?(built during linux building
> by Buildroot), I start them by quoting it in xinitrc file (together with window
> manager)?and then giving xinit command (is there some other way ?).
> However, when running Qt demo?programs (linux built with Qt support), I can
> start them with quoting only?-qws option (obviously programs are built with
> QtCreator) - ie. no xinit ...?
> Difference is also regarding startup times (which is?pretty big?difference when
> speaking of first start).
> What interests me is why different methods of starting GTK and Qt programs and
> also why so huge startup?time difference ?
The Qt you're using runs directly on the framebuffer, so there is no
X.org server. But it's also possible to run Qt on top of X.org (through
not supported by Buildroot at this time).
The Gtk version you're using runs on top of the X.org server, so the
X.org server has to start and initialize itself before starting your
application. It is also possible to run Gtk on top of DirectFB, which
is a lightweight library on top of the framebuffer. However, the Gtk
DirectFB backend has proven to not be that well maintained over the
years, so I'm not sure it's really a good choice.
So basically, you're comparing something that runs on top of X.org with
something that doesn't run on top of X.org.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2012-11-20 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 6:40 [Buildroot] GTK vs Qt Zoran Djordjevic
2012-11-20 9:01 ` Thomas Petazzoni [this message]
2012-11-20 10:02 ` Zoran Djordjevic
2012-11-20 10:09 ` Thomas Petazzoni
2012-11-20 10:23 ` Zoran Djordjevic
2012-11-20 10:45 ` Thomas Petazzoni
2012-11-20 11:06 ` Zoran Djordjevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121120100105.4cafd18d@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox