Qt如何直接处理系统事件(比如鼠标事件),而不是post事件
#include <QtGui/5.15.2/QtGui/qpa/qwindowsysteminterface.h>
// 方便调试事件
QWindowSystemInterface::setSynchronousWindowSystemEvents(true);
直接再 qWindowsWndProc函数中处理
通常情况: 事件被放到一个队列中
#include <QtGui/5.15.2/QtGui/qpa/qwindowsysteminterface.h>
// 方便调试事件
QWindowSystemInterface::setSynchronousWindowSystemEvents(true);
直接再 qWindowsWndProc函数中处理
通常情况: 事件被放到一个队列中