How to hide the cursor in QT5 ?
Mobile and Embedded
2
Posts
1
Posters
11.5k
Views
1
Watching
-
wrote on 26 Jun 2013, 02:55 last edited by
hi:
I build qt5 on a ARM platform, and need to hide the cursor
we use QWSServer::setCursorVisible(false) to hide the cursor in qt 4.8 , which function in qt5?
thanks
-
wrote on 26 Jun 2013, 04:08 last edited by
find the solution:
QCursor cursor(Qt::BlankCursor);
QApplication::setOverrideCursor(cursor);
QApplication::changeOverrideCursor(cursor);
2/2