Generate lrelease without application bundle on Mac
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>
Thu, 27 Jan 2011 15:55:20 +0000 (16:55 +0100)
committeraxis <qt-info@nokia.com>
Wed, 27 Apr 2011 10:05:57 +0000 (12:05 +0200)
src/linguist/lrelease/lrelease.pro

index 8a43541..83692c9 100644 (file)
@@ -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)