[oe] qt4-embedded & tslib
Eric Bénard
eric at eukrea.com
Sun Sep 6 17:16:14 UTC 2009
Holger Hans Peter Freyther a écrit :
> On Sunday 06 September 2009 14:31:36 Eric Bénard wrote:
>> Without this, tslib loads properly the module_raw (input in my case) but
>> none of the module (pthres, linear & co) defined in ts.conf (despite the
>> fact ts_test & co are running fine).
>
> Please google for the QWS_MOUSE_PROTO environement variable... tslib support
> is built as a plugin and Qt needs to be instructed to load it.
>
of course, without this variable it's not loaded at all.
But even with this variable, it doesn't work for me with
-plugin-mouse-tslib but works with -qt-mouse-tslib.
I tried :
tslib:/dev/input/event0 & tslib:/dev/input/touchscreen0
In fact, the module_raw (input) is properly loaded (which means QT was
instructed by QWS_MOUSE_PROTO to use tslib and TSLIB_PLUGINDIR is
properly set) but the other modules (pthres, linear & co) are not
properly loaded (from what I saw with strace they are found, opened, and
closed). If I comment out all the modules (not module_raw) from ts.conf
everything is properly loaded but of course tslib gives raw values to QT
so touchscreen is unusable.
Eric
More information about the Openembedded-devel
mailing list