CopperSpice API  1.7.2
QLibraryInfo Class Reference

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)
 

Detailed Description

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.

See also
QSysInfo, Plugin Path Configuration

Member Enumeration Documentation

This enum type is used to specify a path location.

ConstantValueDescription
QLibraryInfo::PluginsPath0Location of installed CopperSpice plugins.
QLibraryInfo::ImportsPath1Location of installed QML extensions to import.
QLibraryInfo::Qml2ImportsPath2Location of general CopperSpice data.
QLibraryInfo::TranslationsPath3Location of translation information for strings.
QLibraryInfo::SettingsPath4Location for CopperSpice settings.
See also
location()

Method Documentation

QDate QLibraryInfo::buildDate ( )
static

Returns the installation date for this build of CopperSpice. The install date will be the last time CopperSpice was configured and built.

QString QLibraryInfo::licensedProducts ( )
static

Returns the products for this build of CopperSpice. The value "Open Source" is always returned.

See also
licensee()
QString QLibraryInfo::licensee ( )
static

Returns the person to whom this build of CopperSpice is licensed. The value "Open Source" is always returned.

See also
licensedProducts()
QString QLibraryInfo::location ( LibraryLocation  location)
static

Returns the location specified by location.

QStringList QLibraryInfo::platformPluginArguments ( const QString platformName)
static

Documentation pending.