Changeset 1049 for trunk/src


Ignore:
Timestamp:
Sep 3, 2011, 10:08:25 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Make sure QMAKE_TARGET_COMPANY is always Nokia.

Doesn't make much sense to netlabs.org and using $(USER) in
custom builds is against privacy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/qt_targets.pri

    r865 r1049  
    1111
    1212os2 {
    13     # set QMAKE_TARGET_COMPANY to the actual binary OS/2 build vendor. The above
    14     # copyright notice will be still retained in the DLL and EXE description.
    15         contains(QT_CONFIG, official_build):QMAKE_TARGET_COMPANY = netlabs.org
    16         else:QMAKE_TARGET_COMPANY = $$(USER)
    17         isEmpty(QMAKE_TARGET_COMPANY):QMAKE_TARGET_COMPANY = anonymous
    18 
    19         # extend the version number included in DLLs and EXEs with the SVN revision number
    20         DEF_FILE_VERSION = $$VERSION
    21     !isEmpty(QT_BUILD_VERSION):DEF_FILE_VERSION = $${DEF_FILE_VERSION}.$${QT_BUILD_VERSION}
    22     !isEmpty(QMAKESPEC):DEF_FILE_VERSION = $${DEF_FILE_VERSION}.$$basename(QMAKESPEC)
     13    # too long company name does not fit
     14    QMAKE_TARGET_COMPANY = Nokia
     15    !isEmpty(QT_BUILD_VERSION) {
     16        # extend the version number embedded in EXEs/DLLs with the build number
     17        DEF_FILE_VERSION = $$VERSION.$${QT_BUILD_VERSION}
     18    }
    2319}
Note: See TracChangeset for help on using the changeset viewer.