Changeset 86


Ignore:
Timestamp:
Apr 15, 2006, 6:49:05 PM (19 years ago)
Author:
dmik
Message:
  • Added the internal CONFIG keyword 'qt_official_build' recognition. This keyword is intended to be manually added to the .qmake.conf file located in the installation directory to produce an official binary build of the Qt DLL. When it is present. the DLL and the import library will be named as 'qtXYZNN.dll' (XYZ = version number, NN = subversion number).
  • Added the internal QMAKE variable QMAKE_QT_DLL_TARGET. When 'qt_official_build' is not present in CONFIG, this variable defines a name of the Qt DLL (and the import library) to build. The default name is 'myqt'.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/os2-g++/qmake.conf

    r85 r86  
    1313CONFIG                  += qt warn_on release link_prl
    1414
     15QMAKE_QT_DLL_TARGET     = myqt
     16
    1517exists( $(QTDIR)\.qtos2config ) {
    1618        include( $(QTDIR)\.qtos2config )
     19}
     20exists( $(QTDIR)\.build ) {
     21        include( $(QTDIR)\.build )
    1722}
    1823
     
    135140QMAKE_LIBS_QT           = qt registry.dll socket
    136141QMAKE_LIBS_QT_THREAD    = qt registry.dll socket
    137 QMAKE_LIBS_QT_DLL       = qt
    138 QMAKE_LIBS_QT_THREAD_DLL= qt
     142QMAKE_LIBS_QT_DLL       = $$QMAKE_QT_DLL_TARGET
     143QMAKE_LIBS_QT_THREAD_DLL= $$QMAKE_QT_DLL_TARGET
    139144QMAKE_LIBS_QT_ENTRY     =
    140145
  • trunk/src/qt.pro

    r85 r86  
    176176}
    177177
     178shared:os2:qt_official_build {
     179        TARGET = qt$$split(VERSION,.,)
     180        system( echo QMAKE_QT_DLL_TARGET = $$TARGET > ..\.build )
     181} else {
     182        TARGET = $$QMAKE_QT_DLL_TARGET
     183}
     184
    178185!cups:DEFINES += QT_NO_CUPS
    179186
Note: See TracChangeset for help on using the changeset viewer.