QLibraryInfo Class ReferenceThe QLibraryInfo class provides information about the Qt library. More... #include <QLibraryInfo>
Public Types
Static Public Members
Detailed DescriptionThe 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.
You can also use a qt.conf file to override the hard-coded paths that are compiled into the Qt library. For more information, see the Using qt.conf documentation. See also QSysInfo and Using qt.conf. Member Type Documentation
|
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 libraries. |
QLibraryInfo::BinariesPath | 4 | The location of installed Qt binaries (tools and applications). |
QLibraryInfo::PluginsPath | 5 | The location of installed Qt plugins. |
QLibraryInfo::ImportsPath | 11 | The location of installed QML extensions to import. |
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. |
QLibraryInfo::ExamplesPath | 10 | The location for examples upon install. |
QLibraryInfo::DemosPath | 9 | The location for demos upon install. |
See also location().
Returns the installation date for this build of Qt. The install date will usually be the last time that Qt sources were configured.
This function was introduced in Qt 4.6.
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 the QT_BUILD_KEY preprocessor symbol.
See also location().
Returns the products that the license for this build of Qt has access to.
See also licensee().
Returns the person to whom this build of Qt is licensed.
See also licensedProducts().
Returns the location specified by loc.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.