tools/linguist/lrelease/lrelease.pro
changeset 3 41300fa6a67c
parent 0 1918ee327afb
--- a/tools/linguist/lrelease/lrelease.pro	Tue Jan 26 12:42:25 2010 +0200
+++ b/tools/linguist/lrelease/lrelease.pro	Tue Feb 02 00:43:10 2010 +0200
@@ -2,21 +2,21 @@
 TARGET          = lrelease
 DESTDIR         = ../../../bin
 
-QT              -= gui
-
-CONFIG          += qt warn_on console
-CONFIG          -= app_bundle
-
-build_all:!build_pass {
-    CONFIG -= build_all
-    CONFIG += release
-}
-
 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
+SOURCES += \
+    $$QT_SOURCE_TREE/src/corelib/global/qlibraryinfo.cpp \
+    $$QT_SOURCE_TREE/src/corelib/io/qsettings.cpp
+win32:SOURCES += $$QT_SOURCE_TREE/src/corelib/io/qsettings_win.cpp
+macx:SOURCES += $$QT_SOURCE_TREE/src/corelib/io/qsettings_mac.cpp
+
+include(../../../src/tools/bootstrap/bootstrap.pri)
 include(../shared/formats.pri)
 include(../shared/proparser.pri)
 
+win32:LIBS += -ladvapi32   # for qsettings_win.cpp
+
 target.path=$$[QT_INSTALL_BINS]
 INSTALLS        += target