Render QGraphicsItem on QPixmap: aggregate 'QWidget w' has incomplete type and cannot be defined
2017-09-08 16:10 nigaopeng 阅读(938) 评论(0) 编辑 收藏 举报Render QGraphicsItem on QPixmap: aggregate 'QWidget w' has incomplete type and cannot be defined
#include <QWidget>
and #include <QStyleOptionGraphicsItem>
should fix the compile error you are getting.
常见错误: 头文件未包含