com.trolltech.qt.core
Class QLibraryInfo
java.lang.Object
com.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QLibraryInfo
- All Implemented Interfaces:
- QtJambiInterface
public final class QLibraryInfo
- extends QtJambiObject
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.
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.
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
currentSender |
Method Summary |
static java.lang.String |
buildKey()
Returns a unique key identifying this build of Qt and its configurations. |
static java.lang.String |
licensedProducts()
Returns the products that the license for this build of Qt has access to. |
static java.lang.String |
licensee()
Returns the person to whom this build of Qt is licensed. |
static java.lang.String |
location(QLibraryInfo.LibraryLocation arg__1)
Returns the location specified by loc. |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildKey
public static java.lang.String buildKey()
- 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()
.
licensedProducts
public static java.lang.String licensedProducts()
- Returns the products that the license for this build of Qt has access to.
- See also:
licensee()
.
licensee
public static java.lang.String licensee()
- Returns the person to whom this build of Qt is licensed.
- See also:
licensedProducts()
.
location
public static java.lang.String location(QLibraryInfo.LibraryLocation arg__1)
- Returns the location specified by loc.