- Qbs Manual
- QbsModules
- Qt.scxml
- Qbs 2.4.0

# Qt.scxml

Provides Qt SCXML support. More...

- List of all members, including inherited members

## Properties

- className : string
- generateStateMethods : string
- namespace : string
- qscxmlcName : string

## Detailed Description

The Qt.scxml module provides support for the Qt SCXML module, which enables creating state machines from SCXML files.

### Relevant File Tags

Tag | Auto-tagged File Names | Since | Description
--- | --- | --- | ---
`"qt.scxml.compilable"` | - | 1.7 | Source files with this tag serve as inputs to the rule running the Qt SCXML compiler, which will create a C++ class representing a state machine.

## Property Documentation

className : string

The class name of the generated state machine.

By default, the compiler will use the `name` attribute of the input file's `<scxml>` tag.

Default: Undefined

[since 1.11] generateStateMethods : string

If this property is `true`, the Qt SCXML compiler will generate read and notify methods for states.

Default: `false`

This property was introduced in Qt 1.11.

namespace : string

The C++ namespace in which to put the generated class.

By default, the compiler will place the class in the global namespace.

Default: Undefined

qscxmlcName : string

The base name of the Qt SCXML compiler.

Set this value if your system uses a name different from the default value.

Default: `"qscxmlc"`