source: trunk/tools/linguist/lupdate/lupdate.pro@ 385

Last change on this file since 385 was 385, checked in by Dmitry A. Kuminov, 16 years ago

general: Moved VERSION definition to src/qt_targets.pri to have it in a single source and together with other relevant information. Added inclusion of src/qt_targets.pri by linguist, assistant and designer application projects so that they will embed version information too.

File size: 880 bytes
Line 
1TEMPLATE = app
2TARGET = lupdate
3DESTDIR = ../../../bin
4
5QT -= gui
6
7CONFIG += qt warn_on console
8CONFIG -= app_bundle
9
10build_all:!build_pass {
11 CONFIG -= build_all
12 CONFIG += release
13}
14
15include(../shared/formats.pri)
16include(../shared/proparser.pri)
17include(../shared/translatortools.pri)
18
19SOURCES += main.cpp
20
21DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
22
23
24win32:RC_FILE = winmanifest.rc
25
26embed_manifest_exe:win32-msvc2005 {
27 # The default configuration embed_manifest_exe overrides the manifest file
28 # already embedded via RC_FILE. Vs2008 already have the necessary manifest entry
29 QMAKE_POST_LINK += $$quote(mt.exe -updateresource:$$DESTDIR/lupdate.exe -manifest \"$${PWD}\\lupdate.exe.manifest\")
30}
31
32target.path=$$[QT_INSTALL_BINS]
33INSTALLS += target
34
35include(../../../src/qt_targets.pri)
36
Note: See TracBrowser for help on using the repository browser.