Fix build with Qt 5.15+
Building with Qt 5.15 failed with the following error: ../widgets/pixmapdial.cpp:231:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined 231 | QPainterPath ballPath; | ^~~~~~~~ ../widgets/pixmapdial.cpp:278:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined 278 | QPainterPath ballPath; | ^~~~~~~~ Signed-off-by: Alex Tsitsimpis <alex.tsitsimpis@gmail.com>
This commit is contained in:
parent
3e6c9594d8
commit
c167f35fbb
|
@ -22,6 +22,7 @@
|
|||
#include <QtCore/QTimer>
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QPaintEvent>
|
||||
#include <QtGui/QPainterPath>
|
||||
|
||||
PixmapDial::PixmapDial(QWidget* parent)
|
||||
: QDial(parent),
|
||||
|
|
Loading…
Reference in New Issue