Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to capture desktop screen with its mouse cursor?

how to capture desktop screen with its mouse cursor?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 272 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.
  • S Offline
    S Offline
    Simon ZanG
    wrote on last edited by
    #1

    i tried grabwindow( )but the returned pixmap doesnt have a mouse cursor.i want to make a video streaming program and i wonder how so many video streaming programs run with a mouse cursor captured.are there any APIs to do that,thank you very much

    jsulmJ 1 Reply Last reply
    0
    • S Simon ZanG

      i tried grabwindow( )but the returned pixmap doesnt have a mouse cursor.i want to make a video streaming program and i wonder how so many video streaming programs run with a mouse cursor captured.are there any APIs to do that,thank you very much

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Simon-ZanG Documentation says: "The mouse cursor is generally not grabbed", so you're out of luck with Qt here.
      "are there any APIs to do that" - I think you will have to look into native APIs for that.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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