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 | |
---|
1 | TEMPLATE = app
|
---|
2 | TARGET = lupdate
|
---|
3 | DESTDIR = ../../../bin
|
---|
4 |
|
---|
5 | QT -= gui
|
---|
6 |
|
---|
7 | CONFIG += qt warn_on console
|
---|
8 | CONFIG -= app_bundle
|
---|
9 |
|
---|
10 | build_all:!build_pass {
|
---|
11 | CONFIG -= build_all
|
---|
12 | CONFIG += release
|
---|
13 | }
|
---|
14 |
|
---|
15 | include(../shared/formats.pri)
|
---|
16 | include(../shared/proparser.pri)
|
---|
17 | include(../shared/translatortools.pri)
|
---|
18 |
|
---|
19 | SOURCES += main.cpp
|
---|
20 |
|
---|
21 | DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
|
---|
22 |
|
---|
23 |
|
---|
24 | win32:RC_FILE = winmanifest.rc
|
---|
25 |
|
---|
26 | embed_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 |
|
---|
32 | target.path=$$[QT_INSTALL_BINS]
|
---|
33 | INSTALLS += target
|
---|
34 |
|
---|
35 | include(../../../src/qt_targets.pri)
|
---|
36 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.