Home · Overviews · Examples 

Qt Jambi System Properties Reference

Qt Jambi provides a few system properties. Notably, the properties can be used to specify locations of native resources, e.g., libraries and Qt plugins. We present the properties in the table below.

You specify a system property on the command line to the Java VM with the -D option. For instance:

    java -Dcom.trolltech.qt.verbose-loading=true -jar qtjambi.jar

PropertyDescription
com.trolltech.launcher.webstartThis property should be set to true when the launcher is run by Webstart.
com.trolltech.qt.verbose-loadingWhen this property is true, Qt Jambi will report on all attempts to load native libraries.
com.trolltech.qt.debugWhen this property is set to true, the Qt debug libraries will be used. This is necessary if Qt was built with debugging turned on.
com.trolltech.qt.systemlibrariesThis property should contain paths to system libraries used by the native Qt Jambi and Qt libraries.
com.trolltech.qt.pluginjarsIf plugins are deployed in .jar files, this property must contain paths to the files.
com.trolltech.qt.plugin-pathIf plugins are located on the local file system, you can set this property to the path of the plugins directory.
com.trolltech.qt.library-pathThis property can be used to set paths to where Qt Jambi will search for native libraries.
com.trolltech.qt.implicit-loadingWhen this property is true, Qt Jambi will search for native libraries in paths relative to the working directory. The default value is true.
com.trolltech.qt.load-from-cacheBy default, Qt Jambi copies the native libraries before they are loaded to a caching directory. If this property is set to true, Qt Jambi will first try to load the libraries from the cache without copying.
com.trolltech.qt.exclude-librariesIf you start a Qt Jambi application from an already running VM, you do not want to reload the native libraries. In this property, you can separate library names that are not to be loaded with the system path separator.


Copyright © 2008 Trolltech Trademarks
Qt Jambi 4.3.4_01