Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtCore.QLibraryInfo Class Reference

The QLibraryInfo class provides information about the Qt library. More...

Inheritance diagram for QtCore.QLibraryInfo:
Collaboration diagram for QtCore.QLibraryInfo:

Public Types

enum  LibraryLocation {
  BinariesPath = 4, DataPath = 6, DemosPath = 9, DocumentationPath = 1,
  ExamplesPath = 10, HeadersPath = 2, ImportsPath = 11, LibrariesPath = 3,
  PluginsPath = 5, PrefixPath = 0, SettingsPath = 8, TranslationsPath = 7
}
  More...
 

Public Member Functions

 QLibraryInfo (QLibraryInfo copy)
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Static Public Member Functions

static QDate BuildDate ()
 
 
static string BuildKey ()
 
 
static string LicensedProducts ()
 
 
static string Licensee ()
 
 
static string Location (QLibraryInfo.LibraryLocation arg1)
 
 

Protected Member Functions

 QLibraryInfo (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The 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.

FunctionReturn 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.

Member Enumeration Documentation

This enum type is used to specify a specific location specifier:

See also location().

Enumerator:
BinariesPath 

The location of installed Qt binaries (tools and applications).

DataPath 

The location of general Qt data.

DemosPath 

The location for demos upon install.

DocumentationPath 

The location for documentation upon install.

ExamplesPath 

The location for examples upon install.

HeadersPath 

The location for all headers.

ImportsPath 

The location of installed QML extensions to import.

LibrariesPath 

The location of installed libraries.

PluginsPath 

The location of installed Qt plugins.

PrefixPath 

The default prefix for all paths.

SettingsPath 

The location for Qt settings.

TranslationsPath 

The location of translation information for Qt strings.

Constructor & Destructor Documentation

QtCore.QLibraryInfo.QLibraryInfo ( System.Type  dummy)
protected
QtCore.QLibraryInfo.QLibraryInfo ( QLibraryInfo  copy)

Member Function Documentation

static QDate QtCore.QLibraryInfo.BuildDate ( )
static

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.

static string QtCore.QLibraryInfo.BuildKey ( )
static

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().

virtual void QtCore.QLibraryInfo.CreateProxy ( )
virtual
new void QtCore.QLibraryInfo.Dispose ( )
static string QtCore.QLibraryInfo.LicensedProducts ( )
static

Returns the products that the license for this build of Qt has access to.

See also licensee().

static string QtCore.QLibraryInfo.Licensee ( )
static

Returns the person to whom this build of Qt is licensed.

See also licensedProducts().

static string QtCore.QLibraryInfo.Location ( QLibraryInfo.LibraryLocation  arg1)
static

Returns the location specified by loc.

Member Data Documentation

SmokeInvocation QtCore.QLibraryInfo.interceptor
protected

Property Documentation

virtual System.IntPtr QtCore.QLibraryInfo.SmokeObject
getset