QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not activeQPainter::end: Painter not active, aborted
一般是由于QPainter操作的绘图对象为空,将绘图对象初始化即可。
本文共 237 字,大约阅读时间需要 1 分钟。
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not activeQPainter::end: Painter not active, aborted
一般是由于QPainter操作的绘图对象为空,将绘图对象初始化即可。
转载于:https://www.cnblogs.com/niebing/p/3724940.html