QPainter not active的问题
今天用QPainter一直有问题,在PC的linux下跑没问题,但在板子上跑就一直提示说:
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::save: Painter not active
等
我不是第一次用QPainter啊。。。
不管是用QPainter painter(image),还是直接调painter.begin(image),都会出现以上错误信息
网上搜出来也都是type : 1的报错信息
请问大家,我遇到的是什么问题?