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. Hide Cursor
Qt 6.11 is out! See what's new in the release blog

Hide Cursor

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.5k Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    zeroc8
    wrote on last edited by
    #1

    Hi, I would like to hide the mousecursor in my fullscreen applicatoin.

    Setting the cursorShape to Qt.BlankCursor in a mousearea does not work, because it requires me to move my mouse once before the shape gets redrawn.

    Are there other ways of accomplishing this? I'm using Go instead of C++.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      When running the application on main.cpp:

      QGuiApplication app(argc, argv);
      QApplication::setOverrideCursor(QCursor(Qt::BlankCursor));

      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