Render QGraphicsItem on QPixmap: aggregate 'QWidget w' has incomplete type and cannot be def
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Render QGraphicsItem on QPixmap: aggregate 'QWidget w' has incomplete type and cannot be def相关的知识,希望对你有一定的参考价值。
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.
常见错误: 头文件未包含
以上是关于Render QGraphicsItem on QPixmap: aggregate 'QWidget w' has incomplete type and cannot be def的主要内容,如果未能解决你的问题,请参考以下文章
VUE -- iview table 组件 中使用 upload组件 上传组件 on render 事件不会触发问题
Qt 获取QGraphicsItem在屏幕上的位置,在QGraphicsItem中获取全局位置,转换为screenPos
Property xxx was accessed during render but is not defined on instance