error: variable `QPainter painter‘ has initializer but incomplete type
/home/test/test0805/mainwindow.cpp:19: 错误: variable ‘QPainter paint’ has initializer but incomplete typeQPainter paint(this);解决方案:在.cpp文件中添加#include <qpainter.h>参考:https://blog.csdn.net/qq_31674
·
/home/test/test0805/mainwindow.cpp:19: 错误: variable ‘QPainter paint’ has initializer but incomplete type
QPainter paint(this);
解决方案:在.cpp文件中添加#include <qpainter.h>
参考:https://blog.csdn.net/qq_31674679/article/details/80150058
更多推荐
已为社区贡献3条内容
所有评论(0)