Changeset 1048 for trunk/mkspecs


Ignore:
Timestamp:
Sep 3, 2011, 9:35:44 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: qmake: Recognize QMAKE_TARGET_VERSION in .pro.

This will be used for embedding the version number to the generated
executable if VERSION is empty. Necessary because setting VERSION
will cause the major verison number to be appended to the EXE/DLL name
which is not always wanted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/features/os2/default_post.prf

    r1029 r1048  
    2525    # convert QMAKE_TARGET_ variables to DEF_FILE_ ones
    2626    isEmpty(DEF_FILE_VERSION) {
    27         DEF_FILE_VERSION = $$VERSION
     27        !isEmpty(VERSION):DEF_FILE_VERSION = $$VERSION
     28        else:DEF_FILE_VERSION = $$QMAKE_TARGET_VERSION
    2829    }
    2930    isEmpty(DEF_FILE_DESCRIPTION) {
Note: See TracChangeset for help on using the changeset viewer.