summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0001-Add-missing-forward-declarations.patch
blob: 8f0f392c8999af41e8248d949760cdfd6cbcde95 (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
From a3ad110da2320174057671ec3b0df2447f0f728b Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Tue, 20 Jun 2017 13:45:20 +0300
Subject: [PATCH] Add missing forward declarations

fix build with -no-accessibility

Change-Id: Ia58c11b22f08a51d5978e4a002480d265aa10fbd
---
 src/widgets/styles/qstylehelper_p.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/widgets/styles/qstylehelper_p.h b/src/widgets/styles/qstylehelper_p.h
index 8ca2139..777ad95 100644
--- a/src/widgets/styles/qstylehelper_p.h
+++ b/src/widgets/styles/qstylehelper_p.h
@@ -62,10 +62,14 @@
 
 QT_BEGIN_NAMESPACE
 
+class QColor;
+class QObject;
 class QPainter;
+class QPalette;
 class QPixmap;
 class QStyleOptionSlider;
 class QStyleOption;
+class QWidget;
 class QWindow;
 
 namespace QStyleHelper