PluginParameter QML Type | Qt Location | Qt 6.12.0
Description: The PluginParameter type describes a parameter for a plugin.
Keywords: qmltype

- Qt 6.12
- Qt Location
- QML Types
- PluginParameter
- Qt 6.12.0 Reference Documentation

# PluginParameter QML Type

The PluginParameter type describes a parameter for a plugin. More...

Import Statement: | `import QtLocation 6.12`
Since: | QtLocation 5.5

- List of all members, including inherited members

## Properties

- name : string
- value : QVariant

## Detailed Description

The PluginParameter object is used to provide a parameter of some kind to a plugin. Typically these parameters contain details like an application token for access to a service, or a proxy server to use for network access, or the serial port to which a serial GPS receiver is connected.

To set such a parameter, declare a PluginParameter inside an Plugin object and give it name and value properties. A list of valid parameter names is available from the plugin reference pages.

## Property Documentation

### name : string

This property holds the name of the plugin parameter as a single formatted string. This property is a write-once property.

### value : QVariant

This property holds the value of the plugin parameter which support different types of values (variant). This property is a write-once property.