C

MCU.Config.controlsStyle

Description

Qt Quick Controls is a module provided with Qt for MCUs. It offers a range of components that can be used by applications, such as buttons, sliders, etc. In order to make use of this module, a qmlproject-based project needs to import the module via the ModuleFiles node.

Qt for MCUs supports styling of the controls. In a qmlproject context, this is achieved by implementing the new style in a separate module that itself imports the ControlsTemplates module. The new module needs to be imported in the main project, via the ModuleFiles node. In addition to that, the URI of this new module needs to be specified through this property, controlsStyle.

The property controlsStyle can be overriden from the command line. See --controls-style.

Usage

// customstyle.qmlproject
MCU.Module {
    uri: "MyApp.MyCustomStyle"
}

// mainproject.qmlproject
MCU.Config {
    controlsStyle: "MyApp.MyCustomStyle"
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_CONTROLS_STYLE.

Available under certain Qt licenses.
Find out more.