Ignore:
Timestamp:
Sep 5, 2011, 5:03:54 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/qt_targets.pri

    r1049 r1050  
    33QMAKE_TARGET_DESCRIPTION = C++ application development framework.
    44QMAKE_TARGET_COPYRIGHT = Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    5 
    6 isEmpty(QT_MAJOR_VERSION) {
    7    VERSION=4.7.3
    8 } else {
    9    VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
    10 }
    115
    126os2 {
Note: See TracChangeset for help on using the changeset viewer.