Changeset 10


Ignore:
Timestamp:
Nov 16, 2005, 10:52:47 PM (20 years ago)
Author:
dmik
Message:

The file src/tools/qconfig.cmd (containing default installation paths) is now automatically generated by the configure.cmd script when configuring the Qt library

Location:
trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r9 r10  
    6767G.!QModulesH        = 'include\qmodules.h'
    6868G.!QConfigH         = 'include\qconfig.h'
     69G.!QConfigCPP       = 'src\tools\qconfig.cpp'
    6970G.!QMakeMakefile    = 'qmake\Makefile'
    7071G.!Makefile         = 'Makefile'
     
    136137    G.!QModulesH = G.!QTDirP'\'G.!QModulesH
    137138    G.!QConfigH = G.!QTDirP'\'G.!QConfigH
     139    G.!QConfigCPP = G.!QTDirP'\'G.!QConfigCPP
    138140    G.!QMakeMakefile = G.!QTDirP'\'G.!QMakeMakefile
    139141    G.!Makefile = G.!QTDirP'\'G.!Makefile
     
    158160        \FileExists(G.!QMakeCache) | \FileExists(G.!QtOS2Config) |,
    159161        \FileExists(G.!QModulesH) | \FileExists(G.!QConfigH) |,
     162        \FileExists(G.!QConfigCPP) |,
    160163        \FileExists(G.!QMakeMakefile) | \FileExists(G.!Makefile)) then
    161164        call ConfigureQt
     
    536539    qmodules_h = G.!QModulesH
    537540    qconfig_h = G.!QConfigH
     541    qconfig_cpp = G.!QConfigCPP
    538542
    539543    call DeleteFile qmake_cache
     
    541545    call DeleteFile qmodules_h
    542546    call DeleteFile qconfig_h
     547    call DeleteFile qconfig_cpp
    543548
    544549    call lineout qmake_cache, 'QMAKE_QT_VERSION_OVERRIDE=331'
     
    598603    call lineout qconfig_h
    599604
     605    call lineout qconfig_cpp, '#include <qglobal.h>'
     606    call lineout qconfig_cpp, ''
     607    call lineout qconfig_cpp, '/* Install paths from configure */'
     608    call lineout qconfig_cpp, 'static const char QT_INSTALL_PREFIX [267] = "qt_nstpath='CPPPath(G.!QTDir)'";'
     609    call lineout qconfig_cpp, 'static const char QT_INSTALL_BINS   [267] = "qt_binpath='CPPPath(G.!QTDirP)'\\bin";'
     610    call lineout qconfig_cpp, 'static const char QT_INSTALL_DOCS   [267] = "qt_docpath='CPPPath(G.!QTDirP)'\\doc";'
     611    call lineout qconfig_cpp, 'static const char QT_INSTALL_HEADERS[267] = "qt_hdrpath='CPPPath(G.!QTDirP)'\\include";'
     612    call lineout qconfig_cpp, 'static const char QT_INSTALL_LIBS   [267] = "qt_libpath='CPPPath(G.!QTDirP)'\\lib";'
     613    call lineout qconfig_cpp, 'static const char QT_INSTALL_PLUGINS[267] = "qt_plgpath='CPPPath(G.!QTDirP)'\\plugins";'
     614    call lineout qconfig_cpp, 'static const char QT_INSTALL_DATA   [267] = "qt_datpath='CPPPath(G.!QTDir)'";'
     615    call lineout qconfig_cpp, 'static const char QT_INSTALL_TRANSLATIONS [267] = "qt_trnpath='CPPPath(G.!QTDirP)'\\translations";'
     616    call lineout qconfig_cpp, ''
     617    call lineout qconfig_cpp, '/* strlen( "qt_xxxpath=" ) == 11 */'
     618    call lineout qconfig_cpp, 'const char *qInstallPath()        { return QT_INSTALL_PREFIX  + 11; }'
     619    call lineout qconfig_cpp, 'const char *qInstallPathDocs()    { return QT_INSTALL_DOCS    + 11; }'
     620    call lineout qconfig_cpp, 'const char *qInstallPathHeaders() { return QT_INSTALL_HEADERS + 11; }'
     621    call lineout qconfig_cpp, 'const char *qInstallPathLibs()    { return QT_INSTALL_LIBS    + 11; }'
     622    call lineout qconfig_cpp, 'const char *qInstallPathBins()    { return QT_INSTALL_BINS    + 11; }'
     623    call lineout qconfig_cpp, 'const char *qInstallPathPlugins() { return QT_INSTALL_PLUGINS + 11; }'
     624    call lineout qconfig_cpp, 'const char *qInstallPathData()    { return QT_INSTALL_DATA    + 11; }'
     625    call lineout qconfig_cpp, 'const char *qInstallPathTranslations() { return QT_INSTALL_TRANSLATIONS + 11; }'
     626    call lineout qconfig_cpp, 'const char *qInstallPathSysconf() { return 0; }'
     627    call lineout qconfig_cpp
     628   
    600629    call CopyFile QuotePath(G.!QTDirP)'\qmake\"Makefile.os2-g++"',
    601630                  G.!QMakeMakefile
     
    11321161
    11331162/**
     1163 *  Doubles all back slash characters to make the path ready to be put
     1164 *  to a C/C++ source.
     1165 */
     1166CPPPath: procedure expose (Globals)
     1167    parse arg path
     1168    return Replace(path, '\', '\\')
     1169   
     1170/**
    11341171 *  Fixes the directory path by a) converting all slashes to back
    11351172 *  slashes and b) ensuring that the trailing slash is present if
  • trunk/os2-doc/changes.html

    r9 r10  
    1818    release starting from the most recent. The text in the square brackets
    1919    after the release date shows the repository tag corresponding to this
    20     release.</p>
    21 
    22     <p>More detailed changes can be found in the file <a
    23     href="./ChangeLog">os2-doc\ChangeLog</a>.</p>
     20    release (startng from version 3.3.1 Release Candidate 6). A tagged release
     21    can be checked out from the SVN repository using a path like
     22    <kbd>http://svn.netlabs.org/repos/qt3/tags/&lt;tag&gt;</kbd>.</p>
     23
     24    <p>For a more detailed list of changes please refer to the SVN repository.
     25    Older changes (for version 3.3.1 Release Candidate 5 and earlier) can be
     26    found in the file <a href="./ChangeLog.CVS">os2-doc\ChangeLog.CVS</a>.
     27    </p>
     28
     29    <h2>Release Candidate 6 (2005-11-xx) [<kbd>3.1.1-rc06</kbd>]</h2>
     30
     31    <hr />
     32
     33    <p>The project has been moved to the SVN repository on netlabs (<a
     34    href="http://svn.netlabs.org">svn.netlabs.org</a>). The direct path to the
     35    main development branch is <a
     36    href="http://svn.netlabs.org/repos/qt3/trunk">http://svn.netlabs.org/repos/qt3/trunk</a>.</p>
     37
     38    <p>The file <kbd>src/tools/qconfig.cpp</kbd> (containing default
     39    installation paths) is now automatically generated by the
     40    <kbd>configure.cmd</kbd> script when configuring the Qt library.</p>
    2441
    2542    <h2>Release Candidate 5 (2005-11-12) [<kbd>rc05</kbd>]</h2>
Note: See TracChangeset for help on using the changeset viewer.