blob: db5e657a5850dddbe3e9408fab8bd12606da47fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From 87f4abf81d530b825d0af772d95fd1ea78503e64 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Tue, 7 Apr 2020 13:22:14 +0300
Subject: [PATCH] Include <QPainterPath> where needed
This fixes Qt-client build on OpenEmbedded
See hrm Bug #868060
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
client/gui-qt/canvas.cpp | 1 +
client/gui-qt/dialogs.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/client/gui-qt/canvas.cpp b/client/gui-qt/canvas.cpp
index 24291bc183..00fa1b8f52 100644
--- a/client/gui-qt/canvas.cpp
+++ b/client/gui-qt/canvas.cpp
@@ -18,6 +18,7 @@
// Qt
#include <QFontMetrics>
#include <QPainter>
+#include <QPainterPath>
// qt-client
#include "canvas.h"
diff --git a/client/gui-qt/dialogs.cpp b/client/gui-qt/dialogs.cpp
index e0f9de31d4..4b3254c496 100644
--- a/client/gui-qt/dialogs.cpp
+++ b/client/gui-qt/dialogs.cpp
@@ -24,6 +24,7 @@
#include <QMessageBox>
#include <QMouseEvent>
#include <QPainter>
+#include <QPainterPath>
#include <QRadioButton>
#include <QRect>
#include <QSignalMapper>
|