diff options
Diffstat (limited to 'recipes-qt/qt5/qt3d/0002-qt3d-include-qcoreapplication.h-header-in-qtquicksce.patch')
| -rw-r--r-- | recipes-qt/qt5/qt3d/0002-qt3d-include-qcoreapplication.h-header-in-qtquicksce.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt3d/0002-qt3d-include-qcoreapplication.h-header-in-qtquicksce.patch b/recipes-qt/qt5/qt3d/0002-qt3d-include-qcoreapplication.h-header-in-qtquicksce.patch new file mode 100644 index 00000000..0d8d0837 --- /dev/null +++ b/recipes-qt/qt5/qt3d/0002-qt3d-include-qcoreapplication.h-header-in-qtquicksce.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From 6a1c600bcb6288c021eafdef516b8313c60505a3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
| 3 | Date: Fri, 17 Mar 2017 14:42:12 +0200 | ||
| 4 | Subject: [PATCH] qt3d: include qcoreapplication.h header in | ||
| 5 | qtquickscene2dplugin.cpp | ||
| 6 | |||
| 7 | Fix build break in qt3d: | ||
| 8 | Add #include <QtCore/qcoreapplication.h> to qtquickscene2dplugin.cpp | ||
| 9 | to prevent build break due unknown Q_COREAPP_STARTUP_FUNCTION macro. | ||
| 10 | --- | ||
| 11 | src/quick3d/imports/scene2d/qtquickscene2dplugin.cpp | 2 ++ | ||
| 12 | 1 file changed, 2 insertions(+) | ||
| 13 | |||
| 14 | diff --git a/src/quick3d/imports/scene2d/qtquickscene2dplugin.cpp b/src/quick3d/imports/scene2d/qtquickscene2dplugin.cpp | ||
| 15 | index c67271a..224b24f 100644 | ||
| 16 | --- a/src/quick3d/imports/scene2d/qtquickscene2dplugin.cpp | ||
| 17 | +++ b/src/quick3d/imports/scene2d/qtquickscene2dplugin.cpp | ||
| 18 | @@ -40,6 +40,8 @@ | ||
| 19 | #include <private/qrenderaspect_p.h> | ||
| 20 | #include <Qt3DQuickScene2D/private/qt3dquick3dscene2d_p.h> | ||
| 21 | |||
| 22 | +#include <QtCore/qcoreapplication.h> | ||
| 23 | + | ||
| 24 | QT_BEGIN_NAMESPACE | ||
| 25 | |||
| 26 | static void initScene2dPlugin() | ||
