Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Hiding mouse cursor in QML, changed in 5.1?



  • In Qt 5.0, the method that I would use to hide the mouse cursor in a QML application would be to set:

    @app.setOverrideCursor(QCursor(Qt::BlankCursor));@

    In 5.1.0, this seems to not be working the same way - the mouse cursor still appears over my QML view. Is there a new right way to do this, or am I possibly doing something else wrong?

    Thank you,
    Glenn Wainwright



  • Found it!

    @export QT_QPA_EGLFS_HIDECURSOR=1@


Log in to reply