QT编译错误:member access into incomplete type 'QMouseEvent'
摘要:
想在QT程序中使用鼠标事件,添加重载的响应函数,并实现后,一直提示 member access into incomplete type 'QMouseEvent' 既然使用了QMouseEvent类,就应该将其头文件包含进去,在.h中加入: #include <QMouseEvent> 问题解决! 阅读全文
posted @ 2019-01-22 17:29 我来乔23 阅读(14254) 评论(0) 推荐(3) 编辑