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

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

文章来自:http://www.cnblogs.com/niebing/p/3724940.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3