![]() |
Home · Overviews · Examples | ![]() |
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
Property | Description |
---|---|
com.trolltech.launcher.webstart | This property should be set to true when the launcher is run by Webstart. |
com.trolltech.qt.verbose-loading | When this property is true, Qt Jambi will report on all attempts to load native libraries. |
com.trolltech.qt.debug | When 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.systemlibraries | This property should contain paths to system libraries used by the native Qt Jambi and Qt libraries. |
com.trolltech.qt.pluginjars | If plugins are deployed in .jar files, this property must contain paths to the files. |
com.trolltech.qt.plugin-path | If plugins are located on the local file system, you can set this property to the path of the plugins directory. |
com.trolltech.qt.library-path | This property can be used to set paths to where Qt Jambi will search for native libraries. |
com.trolltech.qt.implicit-loading | When 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-cache | By 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-libraries | If 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 |