[Interest] How to prevent a Qt app used as a plugin on a 3rd party host to steal keyboard input
Nuno Santos
nuno.santos at imaginando.pt
Thu Oct 3 16:06:37 CEST 2024
Hi,
I use Qt to make audio plugins.
With Qt 5, the way I used to manage if the Qt app would receive keyboard input from the host was by setting the flag Qt::WindowDoesNotAcceptFocus on or off.
Now, with Qt 6, the plugin window always grabs the host focus and therefore keyboard shortcuts like spacebar to start transport does not work.
This is happening in Window. In MacOS it still behaves in the same way.
I’m currently using Qt 6.7.3
Has someone dealt with the same problem before?
Any ideas on how to work around this behaviour?
Thanks in advance!
Regards,
Nuno
More information about the Interest
mailing list