|
Last change
on this file since 259 was 158, checked in by Dmitry A. Kuminov, 16 years ago |
|
qmake: Added support for TARGET_SHORT variable that allows to specify a short name for the DLL target on DOS-like platforms.
|
|
File size:
469 bytes
|
| Line | |
|---|
| 1 | TEMPLATE = lib
|
|---|
| 2 | isEmpty(QT_MAJOR_VERSION) {
|
|---|
| 3 | VERSION=4.5.1
|
|---|
| 4 | } else {
|
|---|
| 5 | VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
|
|---|
| 6 | }
|
|---|
| 7 | CONFIG += qt plugin
|
|---|
| 8 |
|
|---|
| 9 | win32|os2|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release
|
|---|
| 10 | TARGET = $$qtLibraryTarget($$TARGET)
|
|---|
| 11 | !isEmpty(TARGET_SHORT):TARGET_SHORT = $$qtLibraryTarget($$TARGET_SHORT)
|
|---|
| 12 | contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
|
|---|
| 13 |
|
|---|
| 14 | include(../qt_targets.pri)
|
|---|
| 15 |
|
|---|
| 16 | wince*:LIBS += $$QMAKE_LIBS_GUI
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.