aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch30
-rw-r--r--recipes-qt/qt5/qtsvg_git.bb2
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch b/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
new file mode 100644
index 00000000..4c9c643d
--- /dev/null
+++ b/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
@@ -0,0 +1,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
+
diff --git a/recipes-qt/qt5/qtsvg_git.bb b/recipes-qt/qt5/qtsvg_git.bb
index b3bc50f6..57e9b4fa 100644
--- a/recipes-qt/qt5/qtsvg_git.bb
+++ b/recipes-qt/qt5/qtsvg_git.bb
@@ -14,3 +14,5 @@ LIC_FILES_CHKSUM = " \
DEPENDS += "qtbase"
SRCREV = "9ee5ee12a7b92a57624dafed935b3ac1fad426d9"
+
+SRC_URI += "file://0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch"