CopperSpice API
1.9.2
|
The QLibraryInfo class provides information about how CopperSpice was built. More...
Public Types | |
enum | LibraryLocation |
Static Public Methods | |
static QDate | buildDate () |
static QString | licensedProducts () |
static QString | licensee () |
static QString | location (LibraryLocation location) |
static QStringList | platformPluginArguments (const QString &platformName) |
The QLibraryInfo class provides information about how CopperSpice was built. Several configuration parameters are set when compiling CopperSpice. This class provides an API for accessing this information.
The cs.conf
file can be used override any of the hard coded paths compiled into CopperSpice.
This enum type is used to specify a path location.
Constant | Value | Description |
---|---|---|
QLibraryInfo::PluginsPath | 0 | Location of installed CopperSpice plugins. |
QLibraryInfo::ImportsPath | 1 | Location of installed QML extensions to import. |
QLibraryInfo::Qml2ImportsPath | 2 | Location of general CopperSpice data. |
QLibraryInfo::TranslationsPath | 3 | Location of translation information for strings. |
QLibraryInfo::SettingsPath | 4 | Location for CopperSpice settings. |
|
static |
Returns the installation date for this build of CopperSpice. The install date will be the last time CopperSpice was configured and built.
|
static |
Returns the products for this build of CopperSpice. The value "Open Source" is always returned.
|
static |
Returns the person to whom this build of CopperSpice is licensed. The value "Open Source" is always returned.
|
static |
Returns the location specified by location.
|
static |
Returns the arguments used to initialize the CopperSpice platform plugin.