diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-02-12 18:04:16 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-14 18:54:55 +0100 |
commit | fd8fc6ffdb2e34b2921f06644264c405eee94f5d (patch) | |
tree | 72ac2c5f068ab28f41316408313a8b5f4ce003fd /recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch | |
parent | 909858baf064216a3b221edb59b40cc93d536a44 (diff) | |
download | meta-qt5-fd8fc6ffdb2e34b2921f06644264c405eee94f5d.tar.gz |
qt3d: support qgltf in native and nativesdk builds
qgltf is used to import a variety of 3D model formats and export into
fast-to-load, optimized glTF assets embedded into Qt resource files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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.patch | 31 |
1 files changed, 31 insertions, 0 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 new file mode 100644 index 00000000..c9d22231 --- /dev/null +++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 778d0c4515bae5bdeb650fb3e6b3e32a73722b51 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 10 Feb 2016 09:02:09 +0200 | ||
4 | Subject: [PATCH] Allow a tools-only build | ||
5 | |||
6 | --- | ||
7 | qt3d.pro | 7 ++++++- | ||
8 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/qt3d.pro b/qt3d.pro | ||
11 | index a26e76d..263e3c4 100644 | ||
12 | --- a/qt3d.pro | ||
13 | +++ b/qt3d.pro | ||
14 | @@ -1,4 +1,4 @@ | ||
15 | -requires(contains(QT_CONFIG, opengl)) | ||
16 | +!tools-only:requires(contains(QT_CONFIG, opengl)) | ||
17 | |||
18 | load(configure) | ||
19 | qtCompileTest(assimp) | ||
20 | @@ -17,3 +17,8 @@ load(qt_parts) | ||
21 | |||
22 | OTHER_FILES += \ | ||
23 | sync.profile | ||
24 | + | ||
25 | +tools-only { | ||
26 | + sub_tools.depends -= sub_src | ||
27 | + SUBDIRS = sub_tools | ||
28 | +} | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||