From: "Eric Bénard" <eric@eukrea.com>
To: buildroot@busybox.net
Subject: [Buildroot] Qt program with GUI issue
Date: Wed, 26 Oct 2011 17:17:57 +0200 [thread overview]
Message-ID: <4EA824A5.1040209@eukrea.com> (raw)
In-Reply-To: <4EA8042B.2050501@visionsystems.de>
Hi Yegor,
Le 26/10/2011 14:59, Yegor Yefremov a ?crit :
> I'm trying to get my program integrated into BR. So far I managed to
> successfully build and install it, but as soon as I run it (with -qws
> option) I get trouble:
>
> GUI will be shown, but at the same time background/wallpaper goes green (I
> made nothing to make this happen). When I move my mouse, the pointer seems
> to draw over GUI, so that real gray background will show up at the places
> where mouse pointer went through.
>
> Is there any simple QT based project I could try to integrate as a
> reference? I tried CuteCom, but it is fully Qt4 compatible.
>
> Another issue if I don't supply -qws param, I get following error
> messages:
>
> QWSSocket::connectToLocalFile could not connect:: No such file or
> directory
>
> My system: ARM Cortex-A8 WindowsManager: Fluxbox
>
you are trying to run a qtembedded project (with its own graphic server)
in a windows manager running under X : this means both write to the
framebuffer leading to your problem (qt draws the interface and the green
background and when you move the mouse X refresh the area with it's content
(and thus fluxbox's one)).
The solution is :
- either to kill X and run your application with qws then that will work (you
may need to add some parameters in the environment variable QWS_MOUSE_PROTO
for the input devices)
- either to compile your application with qt for X and run it under X (but I
think buildroot doesn't support QT for X so you are on your own here)
Eric
prev parent reply other threads:[~2011-10-26 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 12:59 [Buildroot] Qt program with GUI issue Yegor Yefremov
2011-10-26 15:01 ` Yegor Yefremov
2011-10-26 15:19 ` Will Wagner
2011-10-27 13:26 ` Yegor Yefremov
2011-10-26 15:17 ` Eric Bénard [this message]
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=4EA824A5.1040209@eukrea.com \
--to=eric@eukrea.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