Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit c167f35

Browse files
alextsitsfalkTX
authored andcommitted
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>
1 parent 3e6c959 commit c167f35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c++/widgets/pixmapdial.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <QtCore/QTimer>
2323
#include <QtGui/QPainter>
2424
#include <QtGui/QPaintEvent>
25+
#include <QtGui/QPainterPath>
2526

2627
PixmapDial::PixmapDial(QWidget* parent)
2728
: QDial(parent),

0 commit comments

Comments
 (0)