码迷,mamicode.com
首页 > 其他好文 > 详细

Render QGraphicsItem on QPixmap: aggregate 'QWidget w' has incomplete type and cannot be defined

时间:2017-09-08 18:32:59      阅读:351      评论:0      收藏:0      [点我收藏+]

标签:tin   def   graphic   code   头文件   ror   com   bsp   graphics   

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 defined

标签:tin   def   graphic   code   头文件   ror   com   bsp   graphics   

原文地址:http://www.cnblogs.com/ranson7zop/p/7495157.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!