All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: Steve Sakoman <sakoman@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Qt embedded, touchscreens, and cursors
Date: Thu, 27 Jun 2013 10:03:46 +0200	[thread overview]
Message-ID: <20130627100346.35932ab8@e6520eb> (raw)
In-Reply-To: <CAGDS+nmpNmSwSV9qW3aQ22BBkss1PhCVtg7A-JzSx+bL-ngqCQ@mail.gmail.com>

Hi Steve,

Le Tue, 25 Jun 2013 09:34:05 -0700,
Steve Sakoman <sakoman@gmail.com> a écrit :

> I'm new to the Qt world, so perhaps this is a stupid question . . .
> 
> I'm helping a client create a custom layer for their touchscreen based
> hardware and Qt applications.
> 
> They've decided to use Qt4e and we are including the stock danny qt4e
> binaries in the image.
> 
> All works as desired with one exception:  the Qt cursor appears at app
> launch time with a green 16x16 background, converts to the app
> background shortly thereafter, and then stays on the screen until the
> first time you touch the screen, then disappears and stays gone.
> 
> Some quick googling indicates this is a common problem with touchsceen
> Qt implementations and that there are no satisfactory runtime
> solutions.  The most often recommended solution is to disable the
> cursor at build time with -no-feature-CURSOR added to the Qt config
> options.  This option is also claimed to give a significant
> performance boost.
> 
> I tried adding a bbappend to add this option, but as some of the above
> mentioned sources indicated the Qt build will fail unless you disable
> demos, examples, and a couple of other build features.  I started
> going down this path but I suspect it will require changes to the base
> Qte recipe.
> 
> Have others run into this issue?  I suspect that most target hardware
> for Yocto builds are touchscreen based, so this will likely come up
> over and over again.
> 
> Any suggestions?

IIRC you can hack this in 
qwscursor_qws.cpp
around "// default cursor"
you change ArrowCursor to BlankCursor
(sorry no clean patch for that ATM).

Eric


  reply	other threads:[~2013-06-27  8:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 16:34 Qt embedded, touchscreens, and cursors Steve Sakoman
2013-06-27  8:03 ` Eric Bénard [this message]
2013-06-27 12:56   ` Steve Sakoman

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=20130627100346.35932ab8@e6520eb \
    --to=eric@eukrea.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sakoman@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.