Ignore:
Timestamp:
Aug 26, 2011, 7:48:22 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Remove suport for system-wide qt.conf files.

This turns not to be necessary. The new code is much simpler and has
less platform-dependent details. Note that hard-coded component paths
are now relative to the parent of the directory containing QtCore4.dll, not
to that directory itself as before. This in particular makes qt.conf not necessary
for the development builds at all.

For official (RPM) release builds, full hard-coded paths will be used so qt.conf
is not necessary at all. It will only be in use in portable ZIP distributions to
override these hard-coded paths of RPM builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/src/deployment/qt-conf.qdoc

    r846 r1030  
    4343    libraries look elsewhere.
    4444
    45         Note that on OS/2, the libraries do not use the hard-coded paths
    46         by default. Instead, they look for plugins and other components in a
    47         directory that contains the QtCore DLL library (or the application
    48         executable if Qt is built as a static library). This behavior may
    49         also be overridden using the \c qt.conf file.
    50    
    5145    QLibraryInfo will load \c qt.conf from one of the following locations:
    5246
     
    6155    QCoreApplication::applicationDirPath() + QDir::separator() + "qt.conf"
    6256
     57    \o on OS/2, in the directory containing the QtCore dynamic library
     58    (only after trying all of the above locations)
     59
    6360    \endlist
    6461
    65     On OS/2, if neither of the above locations contains \c qt.conf,
    66     QLibraryInfo will additionally try the following locations, in the
    67     given order:
    68 
    69     \list 1
    70 
    71     \o \c qt.conf in the directory containing the QtCore DLL library
    72     (or the application executable if Qt is built as a static library)
    73 
    74     \o hard-coded system-wide \c .conf file (if set by the given build
    75     of the Qt library)
    76    
    77     \o \c %ETC%\qt.conf
    78    
    79     \endlist
    80    
    8162    The \c qt.conf file is an INI text file, as described in the \l
    8263    {QSettings::Format}{QSettings} documentation. The file should have
Note: See TracChangeset for help on using the changeset viewer.