Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame^] | 1 | From c805c6f64da6d8b03355b4796865b75e2f3b500d Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Mon, 8 Jun 2020 00:50:08 +0200 |
| 4 | Subject: [PATCH] Fix build with Qt >= 5.15 |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| 12 | --- |
| 13 | modules/gui/qt/components/playlist/views.cpp | 1 + |
| 14 | modules/gui/qt/dialogs/plugins.cpp | 1 + |
| 15 | modules/gui/qt/util/timetooltip.hpp | 1 + |
| 16 | 3 files changed, 3 insertion(+) |
| 17 | |
| 18 | diff --git a/modules/gui/qt/components/playlist/views.cpp b/modules/gui/qt/components/playlist/views.cpp |
| 19 | index 24db9d9..71d8514 100644 |
| 20 | --- a/modules/gui/qt/components/playlist/views.cpp |
| 21 | +++ b/modules/gui/qt/components/playlist/views.cpp |
| 22 | @@ -35,6 +35,7 @@ |
| 23 | #include <QMetaType> |
| 24 | #include <QHeaderView> |
| 25 | #include <QSvgRenderer> |
| 26 | +#include <QPainterPath> |
| 27 | |
| 28 | #include <assert.h> |
| 29 | |
| 30 | diff --git a/modules/gui/qt/dialogs/plugins.cpp b/modules/gui/qt/dialogs/plugins.cpp |
| 31 | index d233382..9ae9a63 100644 |
| 32 | --- a/modules/gui/qt/dialogs/plugins.cpp |
| 33 | +++ b/modules/gui/qt/dialogs/plugins.cpp |
| 34 | @@ -66,6 +66,7 @@ |
| 35 | #include <QSplitter> |
| 36 | #include <QToolButton> |
| 37 | #include <QStackedWidget> |
| 38 | +#include <QPainterPath> |
| 39 | |
| 40 | //match the image source (width/height) |
| 41 | #define SCORE_ICON_WIDTH_SCALE 4 |
| 42 | diff --git a/modules/gui/qt/util/timetooltip.hpp b/modules/gui/qt/util/timetooltip.hpp |
| 43 | index 6a1329e..9f50b18 100644 |
| 44 | --- a/modules/gui/qt/util/timetooltip.hpp |
| 45 | +++ b/modules/gui/qt/util/timetooltip.hpp |
| 46 | @@ -25,6 +25,7 @@ |
| 47 | #include "qt.hpp" |
| 48 | |
| 49 | #include <QWidget> |
| 50 | +#include <QPainterPath> |
| 51 | |
| 52 | class TimeTooltip : public QWidget |
| 53 | { |
| 54 | -- |
| 55 | 2.26.2 |
| 56 | |