QLibraryInfo Class Reference
|
Function | Return value |
---|---|
buildKey() | A string that identifies the Qt version and the configuration. This key is used to ensure that plugins link against the same version of Qt as the application. |
location() | The path to a certain Qt component (e.g., documentation, header files). |
licensee(), licensedProducts() | Licensing 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.
This enum type is used to specify a specific location specifier:
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. |
QLibraryInfo::ExamplesPath | 10 | The location for examples upon install. |
QLibraryInfo::DemosPath | 9 | The location for demos upon install. |
See also location().
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.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com