![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions | ![]() |
The QLibraryInfo class provides information about the Qt library. More...
#include <QLibraryInfo>
Part of the QtCore module.
The QLibraryInfo class provides information about the Qt library.
Many pieces of information are established when Qt is configured. Installation paths, license information, and even a unique build key. This class provides an abstraction for accessing this information.
This enum type is used to specify a specific location specifier. This for use with QLibraryInfo::location.
The locations are
Constant | Value | Description |
---|---|---|
QLibraryInfo::PrefixPath | 0 | The default prefix for all paths. |
QLibraryInfo::DocumentationPath | 1 | The location for documentation upon install. |
QLibraryInfo::HeadersPath | 2 | The location for all headers. |
QLibraryInfo::LibrariesPath | 3 | The location of installed librarires. |
QLibraryInfo::BinariesPath | 4 | The location of installed Qt binaries (tools and applications). |
QLibraryInfo::PluginsPath | 5 | The location of installed Qt plugins. |
QLibraryInfo::DataPath | 6 | The location of general Qt data. |
QLibraryInfo::TranslationsPath | 7 | The location of translation information for Qt strings. |
QLibraryInfo::SettingsPath | 8 | The location for Qt settings. |
Returns a unique key identifying this build of Qt and its configurations. This key is not globally unique, rather only useful for establishing of two configurations are compatible. This can be used to compare with QT_BUILD_KEY.
Returns the active configuration information settings. This is normally only usefull for debugging but could be usefull to retrieve custom information. Do not destruct the return value as QLibrary retains ownership. Qt will automatically find the configuration file by looking (in order):
If no configuration can be found then zero will be returned.
See also QLibrayInfo::location and QSettings.
Returns the products that the license for this build of Qt has access to.
See also QLibraryInfo::licensee.
Returns the person to whom this build of Qt is licensed.
See also QLibraryInfo::licensedProducts.
Returns the location specified by loc.
See also QLibraryInfo::LibraryLocation and QLibraryInfo::configuration.
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0-b2 |