source: trunk/src/plugins/qpluginbase.pri@ 1053

Last change on this file since 1053 was 1050, checked in by Dmitry A. Kuminov, 14 years ago

Restore place of original VERSION definition (revert r385).

The reason is that VERSION is very dangerous: setting it causes all DLL
files to get the suffix comprised of the major version number extracted from
the VERSION's value. Since qt_targets.pri may be included everywhere,
it may have unexpected side effects (like it did for QML plugins since it is
included from qimportbase.pri).

File size: 610 bytes
Line 
1TEMPLATE = lib
2isEmpty(QT_MAJOR_VERSION) {
3 VERSION=4.7.3
4} else {
5 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
6}
7CONFIG += qt plugin
8
9win32|os2|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release
10TARGET = $$qtLibraryTarget($$TARGET)
11!isEmpty(TARGET_SHORT):TARGET_SHORT = $$qtLibraryTarget($$TARGET_SHORT)
12contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
13
14include(../qt_targets.pri)
15
16wince*:LIBS += $$QMAKE_LIBS_GUI
17
18symbian: {
19 TARGET.EPOCALLOWDLLDATA=1
20 TARGET.CAPABILITY = All -Tcb
21 TARGET = $${TARGET}$${QT_LIBINFIX}
22 load(armcc_warnings)
23}
Note: See TracBrowser for help on using the repository browser.