error: Variable has incomplete type ‘QPainterPath’
1、添加qpainter.h
#include <qpainter.h>
2、添加QPainterPath
#include <QPainterPath>
如果添加其中任意一个都无效的话就两个都添加就好了
希望对小伙伴们有帮助!
error: Variable has incomplete type ‘QPainterPath’
1、添加qpainter.h
#include <qpainter.h>
2、添加QPainterPath
#include <QPainterPath>
如果添加其中任意一个都无效的话就两个都添加就好了
希望对小伙伴们有帮助!