[Development] Windows plugin customisation: QWindowsKeyMapper

Laszlo Papp lpapp at kde.org
Sun Jul 31 08:02:15 CEST 2022


It would be better if the Qt application using Qt would not need to write
platform specific code, like intercepting WM_APPCOMMAND or
using DefWindowProc.

So, I wonder if we can either:

1. Change the default behaviour to pass the event to the application and if
it is not handled by the application, only then pass it to the operating
system.
2. We can add an application attribute to opt into this behaviour by the Qt
application without having to write platform specific code. This way,
existing applications relying on the current behaviour could be kept
working.
3. Add an environment variable (I do not prefer this, but this is an
option).
4. Something else.

What would be your feedback on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220731/383bbbea/attachment.htm>


More information about the Development mailing list