Skip to content

Commit

Permalink
Fix build with Qt 5.15+
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
alextsits authored and falkTX committed Jun 4, 2020
1 parent 3e6c959 commit c167f35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c++/widgets/pixmapdial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <QtCore/QTimer>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
#include <QtGui/QPainterPath>

PixmapDial::PixmapDial(QWidget* parent)
: QDial(parent),
Expand Down

0 comments on commit c167f35

Please sign in to comment.