Changeset 1050 for trunk/src/qbase.pri


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/qbase.pri

    r846 r1050  
    33isEmpty(QT_ARCH):!isEmpty(ARCH):QT_ARCH=$$ARCH #another compat that will rot for change #215700
    44TEMPLATE        = lib
    5 
    6 include(qt_targets.pri)
    7 
     5isEmpty(QT_MAJOR_VERSION) {
     6   VERSION=4.7.3
     7} else {
     8   VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
     9}
    810mac:!contains(QMAKE_EXT_C, .mm):QMAKE_EXT_C += .mm
    911
     
    179181QMAKE_PKGCONFIG_VARIABLES += moc_dir uic_dir rcc_dir lupdate_dir lrelease_dir
    180182
     183
     184
    181185win32:DEFINES+=_USE_MATH_DEFINES
    182186
Note: See TracChangeset for help on using the changeset viewer.