summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
blob: 4c9c643d2fd3c8d816d094dbccdfa844134da66d (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 d539c7e4ef98fd4933573eac606a4edee6655d8c Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Thu, 5 Nov 2015 12:25:05 +0100
Subject: [PATCH] textobject.pro: use DEPLOYMENT only for wince like other
 examples

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 examples/svg/richtext/textobject/textobject.pro | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/examples/svg/richtext/textobject/textobject.pro b/examples/svg/richtext/textobject/textobject.pro
index 794ad32..0ecd2c7 100644
--- a/examples/svg/richtext/textobject/textobject.pro
+++ b/examples/svg/richtext/textobject/textobject.pro
@@ -12,6 +12,8 @@ RESOURCES       = resources.qrc
 target.path = $$[QT_INSTALL_EXAMPLES]/svg/richtext/textobject
 INSTALLS += target
 
-filesToDeploy.files = files/*.svg
-filesToDeploy.path = files
-DEPLOYMENT += filesToDeploy
+wince* {
+    filesToDeploy.files = files/*.svg
+    filesToDeploy.path = files
+    DEPLOYMENT += filesToDeploy
+}
-- 
2.6.2