Changeset 357 for trunk/doc/src


Ignore:
Timestamp:
Nov 28, 2009, 8:49:40 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: Make the Qt library portable on OS/2 by replacing hard-coded paths with paths relative to the QtCore DLL (or the application executable if Qt is built as a static library). Add two new locations to search for qt.conf/qtsys.conf for providing more portability and easier system integration. See #78 for more details.

File:
1 edited

Legend:

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

    r2 r357  
    5858    libraries look elsewhere.
    5959
     60        Note that on OS/2, the libraries do not use the hard-coded paths
     61        by default. Instead, they look for plugins and other components in a
     62        directory that contains the QtCore DLL library (or the application
     63        executable if Qt is built as a static library). This behavior may
     64        also be overridden using the \c qt.conf file.
     65   
    6066    QLibraryInfo will load \c qt.conf from one of the following locations:
    6167
     
    7278    \endlist
    7379
     80    On OS/2, if neither of the above locations contains \c qt.conf,
     81    QLibraryInfo will additionally try the following two locations:
     82
     83    \list 1
     84
     85    \o \c qt.conf in the directory containing the QtCore DLL library
     86    (or the application executable if Qt is built as a static library)
     87
     88    \o \c %ETC%\qt\qtsys.conf
     89   
     90    \endlist
     91   
    7492    The \c qt.conf file is an INI text file, as described in the \l
    7593    {QSettings::Format}{QSettings} documentation. The file should have
     
    106124    need to be placed in specific sub-directories under the
    107125    \c{plugins} directory (see \l{How to Create Qt Plugins} for
    108     details).
    109 
     126    details). On OS/2, the \c Prefix is always relative to the directory
     127    where \c qt.conf or \c qtsys.conf is loaded from.
     128   
    110129    For example, a \c qt.conf file could contain the following:
    111130
Note: See TracChangeset for help on using the changeset viewer.