have an application in Qt. I want to hide the cursor shape for my app on tiny6410(Friendly Arm Linux device). I use this code with this reference :
#include <QWSServer>
int main(int argc, char *argv[])
{
#ifdef Q_WS_QWS
#endif
#include <QWSServer>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
#ifdef Q_WS_QWS
QWSServer::setCursorVisible( false );
#endif
To copy to clipboard, switch view to plain text mode
after that when I run my program with this command :
./VS200 -qws
./VS200 -qws
To copy to clipboard, switch view to plain text mode
it is running and the pointer does not show BUT , the screen touch is also not work.
When I change the
false
false
To copy to clipboard, switch view to plain text mode
to
true
true
To copy to clipboard, switch view to plain text mode
it shows the pointer but when i touch the screen to press button the mouse shape is disappear and the touch is not work.
How can I solve this problem ?
How QWSSERVER::SetCursorVisible change the Linux setting?
-------------------------------------------------------------------------------------------------------------
NOTE:When I write this command "cat /dev/touchscreen-1wire" the touch is worked but when the Qt application is run, touch does not work.
This QWS_MOUSE_PROTO=TSLIB:/dev/touchscreen-1wire. and the tslib is setting on this config.
Bookmarks