summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch')
-rw-r--r--recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
index 144c9a78..901a47fd 100644
--- a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
+++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
@@ -1,25 +1,27 @@
1From d3053e33c76cdb41eeeec3c853fa88c7c7bfb8a5 Mon Sep 17 00:00:00 2001 1From ee6c6dc4183234a6f092d9e5b8d05eaab8ee5382 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 17 Aug 2018 13:23:58 +0300 3Date: Fri, 17 Aug 2018 13:23:58 +0300
4Subject: [PATCH] Allow a tools-only build 4Subject: [PATCH] Allow a tools-only build
5 5
6--- 6---
7 qt3d.pro | 7 ++++++- 7 qt3d.pro | 9 +++++++--
8 src/3rdparty/assimp/assimp_dependency.pri | 2 +- 8 src/3rdparty/assimp/assimp_dependency.pri | 2 +-
9 tools/tools.pro | 2 +- 9 tools/tools.pro | 2 +-
10 3 files changed, 8 insertions(+), 3 deletions(-) 10 3 files changed, 9 insertions(+), 4 deletions(-)
11 11
12diff --git a/qt3d.pro b/qt3d.pro 12diff --git a/qt3d.pro b/qt3d.pro
13index 3fc7d1452..7311eff5b 100644 13index 847507f17..286286dd0 100644
14--- a/qt3d.pro 14--- a/qt3d.pro
15+++ b/qt3d.pro 15+++ b/qt3d.pro
16@@ -1,4 +1,4 @@ 16@@ -1,5 +1,5 @@
17-requires(qtHaveModule(gui))
17-requires(qtConfig(opengl):!wasm) 18-requires(qtConfig(opengl):!wasm)
19+!tools-only:requires(qtHaveModule(gui))
18+!tools-only:requires(qtConfig(opengl):!wasm) 20+!tools-only:requires(qtConfig(opengl):!wasm)
19 21
20 CONFIG += examples_need_tools 22 CONFIG += examples_need_tools
21 load(qt_parts) 23 load(qt_parts)
22@@ -14,3 +14,8 @@ load(qt_parts) 24@@ -15,3 +15,8 @@ load(qt_parts)
23 25
24 OTHER_FILES += \ 26 OTHER_FILES += \
25 sync.profile 27 sync.profile