Qt.plugin_support QML Type
Allows to fine-tune which Qt plugins get pulled in. More...
Import Statement: | import QbsModules . |
Since: | Qbs 1.13.0 |
Properties
- allPluginsByType : var
- defaultPluginsByType : var
- pluginsByType : varList
Detailed Description
The Qt.plugin_support
module provides properties that allow users to control which Qt plugins to pull into a product. This is mostly relevant if Qt was built statically, in which case the respective plugins are static libraries that get linked into your application or library.
Property Documentation
Provides the complete set of plugins in a statically built Qt. The value is a map. The keys are the plugin types, and the values are lists of plugin names.
Provides the set of plugins that your application or library will link to if you do not set pluginsByType. The value is a map. The keys are the plugin types, and the values are lists of plugin names. The value depends on the Qt modules your product pulls in.
Set this property if you want to override the set of plugins for a certain plugin type. For instance, to disable all image plugins except the JPEG one:
Qt.plugin_support.pluginsByType: ({imageformats: "qjpeg"})
For plugin types that are not specifically overridden like this, the value in defaultPluginsByType is used.
Default: Undefined