error C2027: 使用了未定义类型“QMouseEvent”

问题情况:

解决办法:

在自定义鼠标事件的文件中添加

#include <QMouseEvent>

猜你喜欢

转载自blog.csdn.net/oMoDao1/article/details/104132517