View Single Post
Old 03-21-2014, 02:28 AM   #352
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Quote:
Originally Posted by tshering View Post
Sergey,

I would like to share some thoughts. Since the recent FW includes now a mouse/touch driver, I thought we might be getting better results by using the kobo libraries.

The executable is running, but shows no response to touch. The importent debug data from my first run are

Code:
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/gfxdrivers/libimxepd.so" 
keys ("imxepd") 
killall: on-animator.sh: no process killed
killall: pickel: no process killed
Screen resolution is.. 600 x 800 
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/mousedrivers/libtouchscreen.so" 
keys ("touch_device") 
QObject::connect: Cannot queue arguments of type 'QList<QTouchEvent::TouchPoint>'
(Make sure 'QList<QTouchEvent::TouchPoint>' is registered using qRegisterMetaType().)
Loading iType..  YES
Since I don't know much of developing, I have no clear idea how to register and use this. I did some random trials. One of them is
Code:
    ui->setupUi(this);
    qRegisterMetaType<QList<QTouchEvent::TouchPoint> >("QList<QTouchEvent::TouchPoint>");
    this->setAttribute(Qt::WA_AcceptTouchEvents);
    ui->listWidget->setAttribute(Qt::WA_AcceptTouchEvents);
The debug log then was
Code:
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/gfxdrivers/libimxepd.so" 
keys ("imxepd") 
killall: on-animator.sh: no process killed
killall: pickel: no process killed
Screen resolution is.. 600 x 800 
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/mousedrivers/libtouchscreen.so" 
keys ("touch_device") 
Loading iType..  YES
Still no response to touch. Maybe it is evident for you how to do it correctly.
As far as I know, thay still use Qt 4.6.4. I use Qt 4.8.5. It's better for me to find the reason why my mouch driver doesn't work.
sergeyvl12 is offline   Reply With Quote