[X2Go-Commits] [x2goclient] 01/01: x2goclient.pro: reinstate old lrelease "search" behavior if qtPrepareTool() is not available.
git-admin at x2go.org
git-admin at x2go.org
Fri Jul 3 02:35:33 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 7cb7c46e7aacbb39d6c794112e56f62ea7151a97
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Jul 3 02:34:59 2015 +0200
x2goclient.pro: reinstate old lrelease "search" behavior if qtPrepareTool() is not available.
This should only happen on EPEL 6, which ships a broken Qt4 version...
---
debian/changelog | 3 +++
x2goclient.pro | 9 +++++++++
2 files changed, 12 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b72a587..8e0c97c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,9 @@ x2goclient (4.0.4.1-0x2go1) UNRELEASED; urgency=low
- onmainwindow.cpp: remove now-bogus double quote escaping.
- sshmasterconnection.cpp: port QProcess::start () change.
- sshprocess.cpp: whitespace/prettify only and a compile fix.
+ - x2goclient.pro: reinstate old lrelease "search" behavior if
+ qtPrepareTool() is not available. This should only happen on EPEL 6,
+ which ships a broken Qt4 version...
[ Mike Gabriel ]
* debian/control:
diff --git a/x2goclient.pro b/x2goclient.pro
index 9974177..97e8bdd 100644
--- a/x2goclient.pro
+++ b/x2goclient.pro
@@ -140,7 +140,16 @@ else {
!isEmpty(TRANSLATIONS) {
isEmpty(QMAKE_LRELEASE) {
+ # Some Qt versions (looking at you, EPEL 6) are broken
+ # and do not provide the qtPrepareTool test function.
+ # This section is only for working around bugs...
+ !defined(qtPrepareTool) {
+ win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
+ else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
+ }
+ else {
qtPrepareTool(QMAKE_LRELEASE, lrelease)
+ }
}
isEmpty(TS_DIR):TS_DIR = .
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list