Qt 6.11 is out! See what's new in the release
blog
Detect user activity?
-
Is there some way to detect global user activity from Qt? Like have an app sitting in the tray that can start a timer when the user moves the mouse or touches the keyboard and then stop that timer when there is no input for say 5 minutes?
I've done this before on Windows using global hooks, but I don’t think that's a thing on Mac/Linux and I want to make the app cross platform.
It doesn’t need to get the exact keys or mouse coordinates, just that they have or haven’t been touched. Or even just a generic message saying there was some sort of user input.
-
not in a platform neutral manner. Look at screensaver sourcecode. That does what you are looking for,