From 5164f84bd6f136e6438eb5847bab08e65d2320b7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 23 Aug 2018 03:27:28 +0000 Subject: qt3d-runtime: Fix compile errors as seen with mips/musl Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- ...e-Include-missing-QCoreApplication-header.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch (limited to 'recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch') diff --git a/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch b/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch new file mode 100644 index 00000000..bc61e538 --- /dev/null +++ b/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch @@ -0,0 +1,29 @@ +From e6247a6823d372cc779934cf6c74d65bae9652b5 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 23 Aug 2018 03:23:20 +0000 +Subject: [PATCH] runtime: Include missing 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 +--- + src/runtime/q3dsengine.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/runtime/q3dsengine.cpp b/src/runtime/q3dsengine.cpp +index 1a438f0..d6d4eb5 100644 +--- a/src/runtime/q3dsengine.cpp ++++ b/src/runtime/q3dsengine.cpp +@@ -36,6 +36,7 @@ + #include "q3dsinlineqmlsubpresentation_p.h" + #include "q3dsviewersettings.h" + ++#include + #include + #include + #include -- cgit v1.2.3