summaryrefslogtreecommitdiffstats
path: root/patches/0070-Generate-lrelease-without-application-bundle-on-Mac.patch
blob: fb2b945b11c431db20773558ab77a00195018b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 9e9afb72f7f6c7e831cdbd83ae8391306ba56fcc Mon Sep 17 00:00:00 2001
From: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Date: Thu, 27 Jan 2011 16:55:20 +0100
Subject: [PATCH] Generate lrelease without application bundle on Mac

---
 qttools/src/linguist/lrelease/lrelease.pro |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/qttools/src/linguist/lrelease/lrelease.pro b/qttools/src/linguist/lrelease/lrelease.pro
index 8a43541..83692c9 100644
--- a/qttools/src/linguist/lrelease/lrelease.pro
+++ b/qttools/src/linguist/lrelease/lrelease.pro
@@ -4,11 +4,14 @@ TEMPLATE        = app
 TARGET          = lrelease
 DESTDIR         = ../../../bin
 
+QT              -= gui
+
+CONFIG          += qt warn_on console
+CONFIG          -= app_bundle
+
 DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
 SOURCES += main.cpp
 
-INCLUDEPATH += $$QT_BUILD_TREE/src/corelib/global # qlibraryinfo.cpp includes qconfig.cpp
-
 include(../shared/formats.pri)
 include(../shared/proparser.pri)
 include($$QT_SOURCE_TREE/tools/shared/symbian/epocroot.pri)
-- 
1.7.3.1