summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch
blob: 4a4505a16b7a05475adeba3b40274aca5049000f (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
From b592df2afbbeb0670a9d2939d5cca1544095c7ae Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 23 Aug 2018 03:23:20 +0000
Subject: [PATCH] runtime: Include missing <QCoreApplication> header

Fixes following errors seen on mips

q3dsengine.cpp:1327:9: error: 'QCoreApplication' has not been declared
         QCoreApplication::sendEvent(&m_profileUiEventSource, e);
         ^~~~~~~~~~~~~~~~

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 src/runtime/q3dsengine.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/runtime/q3dsengine.cpp b/src/runtime/q3dsengine.cpp
index 053fda4..65c34aa 100644
--- a/src/runtime/q3dsengine.cpp
+++ b/src/runtime/q3dsengine.cpp
@@ -36,6 +36,7 @@
 #include "q3dsinlineqmlsubpresentation_p.h"
 #include "q3dsviewportsettings_p.h"
 
+#include <QCoreApplication>
 #include <QLoggingCategory>
 #include <QKeyEvent>
 #include <QMouseEvent>