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/plugins/qpluginbase.pri

    r769 r1050  
    11TEMPLATE = lib
    2 
    3 include(../qt_targets.pri)
    4 
     2isEmpty(QT_MAJOR_VERSION) {
     3   VERSION=4.7.3
     4} else {
     5   VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
     6}
    57CONFIG += qt plugin
    68
     
    911!isEmpty(TARGET_SHORT):TARGET_SHORT = $$qtLibraryTarget($$TARGET_SHORT)
    1012contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
     13
     14
    1115
    1216wince*:LIBS += $$QMAKE_LIBS_GUI
Note: See TracChangeset for help on using the changeset viewer.