Last change
on this file since 503 was 385, checked in by Dmitry A. Kuminov, 15 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:
1018 bytes
|
Rev | Line | |
---|
[2] | 1 | QMAKE_TARGET_COMPANY = Nokia Corporation and/or its subsidiary(-ies)
|
---|
| 2 | QMAKE_TARGET_PRODUCT = Qt4
|
---|
| 3 | QMAKE_TARGET_DESCRIPTION = C++ application development framework.
|
---|
| 4 | QMAKE_TARGET_COPYRIGHT = Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
|
---|
[383] | 5 |
|
---|
[385] | 6 | isEmpty(QT_MAJOR_VERSION) {
|
---|
| 7 | VERSION=4.5.1
|
---|
| 8 | } else {
|
---|
| 9 | VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
|
---|
| 10 | }
|
---|
| 11 |
|
---|
[383] | 12 | os2 {
|
---|
[385] | 13 | # set QMAKE_TARGET_COMPANY to the actual binary OS/2 build vendor. The above
|
---|
[383] | 14 | # copyright notice will be still retained in the DLL and EXE description.
|
---|
| 15 | contains(QT_CONFIG, official_build):QMAKE_TARGET_COMPANY = netlabs.org
|
---|
| 16 | else:QMAKE_TARGET_COMPANY = $$(USER)
|
---|
| 17 | isEmpty(QMAKE_TARGET_COMPANY):QMAKE_TARGET_COMPANY = anonymous
|
---|
[385] | 18 |
|
---|
| 19 | # extend the version number included in DLLs and EXEs with the SVN revision number
|
---|
| 20 | DEF_FILE_VERSION = $$VERSION
|
---|
| 21 | !isEmpty(QT_BUILD_VERSION):DEF_FILE_VERSION = $${DEF_FILE_VERSION}-$${QT_BUILD_VERSION}
|
---|
| 22 | !isEmpty(QMAKESPEC):DEF_FILE_VERSION = $${DEF_FILE_VERSION}_$$basename(QMAKESPEC)
|
---|
[383] | 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.