Subject: Patch to simplify lrelease in the x2goclient.pro
From: Henning Heinold <[email-masked]>
To: [email-masked]
Date: Thu, 2 Jul 2015 22:10:51 +0200

Package: x2goclient
Version:
Tags: patch

Hi,

the attached patch makes it easier to
determine the path of lrelease. With
this patch it is possible to crosscompile
with the mxe toolchain.

Bye Henning
From 6263ff7c34c22ed553cde5147d1236819049786c Mon Sep 17 00:00:00 2001
From: Henning Heinold <[email-masked]>
Date: Thu, 2 Jul 2015 15:37:54 +0200
Subject: [PATCH] x2goclient.pro: simplify lrelease path preparing for
 different OS and cross compiling

---
 x2goclient.pro | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/x2goclient.pro b/x2goclient.pro
index ccf8fa7..9974177 100644
--- a/x2goclient.pro
+++ b/x2goclient.pro
@@ -140,8 +140,7 @@ else {
 
 !isEmpty(TRANSLATIONS) {
   isEmpty(QMAKE_LRELEASE) {
-    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
-    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
+      qtPrepareTool(QMAKE_LRELEASE, lrelease)
   }
 
   isEmpty(TS_DIR):TS_DIR = .
-- 
1.9.1