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 make Qt receive input when not in focused?
Qt 6.11 is out! See what's new in the release blog

How to make Qt receive input when not in focused?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 447 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.
  • MavenCM Offline
    MavenCM Offline
    MavenC
    wrote on last edited by A Former User
    #1

    Making a macro program that will play sounds after a delay but I need Qt to check inputs while window is running in background. Is there a way to do that?

    kshegunovK 1 Reply Last reply
    0
    • MavenCM MavenC

      Making a macro program that will play sounds after a delay but I need Qt to check inputs while window is running in background. Is there a way to do that?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      @MavenC
      Perhaps grabbing the keyboard? Note however that this might not work, and also I don't see how you'd be able to dispatch the messages back to their respective receivers if you don't want to process them.

      Read and abide by the 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