From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] GTK vs Qt
Date: Tue, 20 Nov 2012 11:45:07 +0100 [thread overview]
Message-ID: <20121120114507.0a14be55@skate> (raw)
In-Reply-To: <1353407015.92864.YahooMailNeo@web164601.mail.gq1.yahoo.com>
Dear Zoran Djordjevic,
On Tue, 20 Nov 2012 02:23:35 -0800 (PST), Zoran Djordjevic wrote:
> OK -let me put question this way. If I successfully compile/run
> QT program on desktop, and then recompile the same source with
> let's say Builtroot built compiler (for ARM), should I expect that
> this program will understand -qws option (which I thought is strictly
> related to QtCreator). The only way I succeeded to start Qt demo
> programs was with -qws. Hope it's more clear question.
Aaah. Ok. No, -qws *has* nothing to do with Qt Creator.
-qws is the option to tell Qt to start the Qt Windowing System.
When you run a Qt application on your desktop, there is already a
windowing system (X.org) and a window manager. So Qt is just a toolkit
like any other, it just draws inside a window provided by the windowing
system.
However, when you build Qt for your embedded system so that it runs
directly on the framebuffer, there is no windowing system provided. So
Qt has its own, that you must enable for the *first* Qt application you
run, using the -qws option.
You can run multiple Qt applications on your embedded system thanks to
this. The first one will have to be started with -qws, the other ones
will automatically connect to the first one thanks to a Unix socket,
and therefore be able to share the screen.
You probably want to read:
http://doc.qt.digia.com/qt/qt-embedded-architecture.html
http://doc.qt.digia.com/qt/qt-embedded-running.html
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 10:45 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
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 [this message]
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=20121120114507.0a14be55@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