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

QPainter::begin: Paint device returned engine == 0, type: 2

时间:2014-05-17 00:14:44      阅读:479      评论:0      收藏:0      [点我收藏+]

标签:c   int   a   com   set   cti   

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted

 

一般是由于QPainter操作的绘图对象为空,将绘图对象初始化即可。

QPainter::begin: Paint device returned engine == 0, type: 2,布布扣,bubuko.com

QPainter::begin: Paint device returned engine == 0, type: 2

标签:c   int   a   com   set   cti   

原文地址:http://www.cnblogs.com/niebing/p/3724940.html

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