Class QLibraryInfo

  extended by com.trolltech.qt.internal.QSignalEmitterInternal
      extended by com.trolltech.qt.QSignalEmitter
          extended by com.trolltech.qt.QtJambiObject
              extended by com.trolltech.qt.core.QLibraryInfo
All Implemented Interfaces:

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.

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 Class Summary
static class QLibraryInfo.LibraryLocation
           This enum type is used to specify a specific location specifier.
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.AbstractSignal, QSignalEmitter.PrivateSignal0, QSignalEmitter.PrivateSignal1, QSignalEmitter.PrivateSignal2, QSignalEmitter.PrivateSignal3, QSignalEmitter.PrivateSignal4, QSignalEmitter.PrivateSignal5, QSignalEmitter.PrivateSignal6, QSignalEmitter.PrivateSignal7, QSignalEmitter.PrivateSignal8, QSignalEmitter.PrivateSignal9, 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
Field Summary
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
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.QtJambiObject
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership

Method Detail


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:


public static java.lang.String licensedProducts()
Returns the products that the license for this build of Qt has access to.

See also:


public static java.lang.String licensee()
Returns the person to whom this build of Qt is licensed.

See also:


public static java.lang.String location(QLibraryInfo.LibraryLocation arg__1)
Returns the location specified by loc.