Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Hiding mouse cursor in QML
Qt 6.11 is out! See what's new in the release blog

Hiding mouse cursor in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 663 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PrajwalP Offline
    PrajwalP Offline
    Prajwal
    wrote on last edited by
    #1

    I'am developing an app in qml and I want to hide mouse (Iam using touch display so mouse doesn't matter) , How can I do that?

    1 Reply Last reply
    0
    • GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      Put a HoverHandler in your root object with cursorShape: Qt.BlankCursor.

      Or call QGuiApplication::setOverrideCursor from C++.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved