aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch')
-rw-r--r--recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch b/recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch
new file mode 100644
index 00000000..1c589cad
--- /dev/null
+++ b/recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch
@@ -0,0 +1,32 @@
+From 22ff2f705ee47d41c41a0a39bbda454ce54f9819 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 25 Sep 2018 23:15:08 +0000
+Subject: [PATCH] Use correct path prefix
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ share/qtcreator/translations/translations.pro | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/share/qtcreator/translations/translations.pro b/share/qtcreator/translations/translations.pro
+index 5f752f2855..87bc3d9cab 100644
+--- a/share/qtcreator/translations/translations.pro
++++ b/share/qtcreator/translations/translations.pro
+@@ -12,10 +12,10 @@ defineReplace(prependAll) {
+ return($$result)
+ }
+
+-XMLPATTERNS = $$shell_path($$[QT_INSTALL_BINS]/xmlpatterns)
+-LUPDATE = $$shell_path($$[QT_INSTALL_BINS]/lupdate) -locations relative -no-ui-lines -no-sort
+-LRELEASE = $$shell_path($$[QT_INSTALL_BINS]/lrelease)
+-LCONVERT = $$shell_path($$[QT_INSTALL_BINS]/lconvert)
++XMLPATTERNS = $$OE_QMAKE_PATH_EXTERNAL_HOST_BINS/xmlpatterns
++LUPDATE = $$OE_QMAKE_PATH_EXTERNAL_HOST_BINS/lupdate -locations relative -no-ui-lines -no-sort
++LRELEASE = $$OE_QMAKE_PATH_EXTERNAL_HOST_BINS/lrelease
++LCONVERT = $$OE_QMAKE_PATH_EXTERNAL_HOST_BINS/lconvert
+
+ wd = $$replace(IDE_SOURCE_TREE, /, $$QMAKE_DIR_SEP)
+