Browse Source

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>
pull/289/head
Alex Tsitsimpis 4 years ago
parent
commit
887c3fde03
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      c++/widgets/pixmapdial.cpp

+ 1
- 0
c++/widgets/pixmapdial.cpp View File

@@ -22,6 +22,7 @@
#include <QtCore/QTimer>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
#include <QtGui/QPainterPath>

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


Loading…
Cancel
Save