QLibraryInfo ClassThe 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 and built. This class provides an abstraction for accessing that information. By using the static functions of this class, an application can obtain information about the instance of the Qt library which the application is using at run-time. 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 | 6 | The location of installed QML extensions to import. |
QLibraryInfo::DataPath | 7 | The location of general Qt data. |
QLibraryInfo::TranslationsPath | 8 | The location of translation information for Qt strings. |
QLibraryInfo::ExamplesPath | 9 | The location for examples upon install. |
QLibraryInfo::TestsPath | 10 | The location of installed Qt testcases. |
QLibraryInfo::SettingsPath | 100 | The location for Qt settings. Not applicable on Windows. |
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 true if this build of Qt was built with debugging enabled, or false if it was built in release mode.
This function was introduced in Qt 5.0.
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.