From unknown Sat Apr 18 08:11:11 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#901: Patch to simplify lrelease in the x2goclient.pro
Reply-To: Henning Heinold <henning@itconsulting-heinold.de>, 901@bugs.x2go.org
Resent-From: Henning Heinold <henning@itconsulting-heinold.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 02 Jul 2015 20:25:01 +0000
Resent-Message-ID: <handler.901.B.143586841821094@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 901
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.143586841821094
          (code B); Thu, 02 Jul 2015 20:25:01 +0000
Received: (at submit) by bugs.x2go.org; 2 Jul 2015 20:20:18 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
	autolearn=ham version=3.3.2
X-Greylist: delayed 550 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Thu, 02 Jul 2015 22:20:16 CEST
Received: from mail.familie-heinold.de (familie-heinold.de [85.214.48.103])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id DBDFC3BC49
	for <submit@bugs.x2go.org>; Thu,  2 Jul 2015 22:20:16 +0200 (CEST)
Received: from mail.familie-heinold.de (localhost [127.0.0.1])
	by mail.familie-heinold.de (Postfix) with ESMTP id B66E2D4025E
	for <submit@bugs.x2go.org>; Thu,  2 Jul 2015 22:11:05 +0200 (CEST)
Received: from mail.familie-heinold.de (localhost [127.0.0.1])
	by mail.familie-heinold.de (Postfix) with ESMTP id 6C123D4003D
	for <submit@bugs.x2go.org>; Thu,  2 Jul 2015 22:11:04 +0200 (CEST)
Received: from mail.itconsulting-heinold.de (x55b343b1.dyn.telefonica.de [85.179.67.177])
	by mail.familie-heinold.de (Postfix) with ESMTPSA
	for <submit@bugs.x2go.org>; Thu,  2 Jul 2015 22:11:04 +0200 (CEST)
Date: Thu, 2 Jul 2015 22:10:51 +0200
From: Henning Heinold <henning@itconsulting-heinold.de>
To: submit@bugs.x2go.org
Message-ID: <20150702201050.GA28091@mail.itconsulting-heinold.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0F1p//8PRICkK4MW"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Virus-Scanned: ClamAV using ClamSMTP


--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--0F1p//8PRICkK4MW
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0001-x2goclient.pro-simplify-lrelease-path-preparing-for-.patch"

>From 6263ff7c34c22ed553cde5147d1236819049786c Mon Sep 17 00:00:00 2001
From: Henning Heinold <henning@itconsulting-heinold.de>
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


--0F1p//8PRICkK4MW--
