Qt SCXML Reference Documentation

Changes to Qt SCXML

Changes overview

API changes

QScxmlEcmaScriptDataModel API removal

Build system

QML imports

EventConnection

Instantiating State Machines

InvokedServices

Qt SCXML

Getting Started

Articles and Guides

Examples

Reference

Module Evolution

Licenses and Trademarks

Qt SCXML Overview

Data Models

Qt SCXML Compiler

Logging Categories

RFC 959

SCXML Calculator

Running the Example

Instantiating the State Machine

SCXML Compliance

Supported Data Models

Supported Elements and Attributes

Qt SCXML Extensions

SCXML FTP Client

Running the Example

Compiling the State Machine

Instantiating the State Machine

Communicating with an FTP Server

SCXML Invoke

Running the Example

Invoking the State Machine

Compiling the State Machine

invoke.pro when using qmake:

CMakeLists.txt when using cmake:

Declaring the state machine as QML element

Instantiating the State Machine

SCXML Media Player

Running the Example

Using the C++ Data Model

SCXML Specification

SCXML Specification - 5 Data Model and Data Manipulation

SCXML Specification - 5.10 System Variables

SCXML Specification - 5.10.1 The Internal Structure of Events

SCXML Specification - 6.4 <invoke>

SCXML Specification - B.1 The Null Data Model

SCXML Specification - B.2 The ECMAScript Data Model

SCXML Specification - Calculator Example

SCXML Sudoku

Running the Example

Sudoku Features

SCXML Part: Internal Logic Description

C++ Part: Constructing the GUI

SCXML Traffic Light (Dynamic, QML)

Running the Example

Dynamically Loading the State Machine

Connecting to States

SCXML Traffic Light (Dynamic, Widgets)

Running the Example

Dynamically Loading the State Machine

Connecting to States

SCXML Traffic Light (Simple, QML)

Running the Example

Compiling the State Machine

.pro when using qmake:

CMakeLists.txt when using cmake:

Instantiating the State Machine

Connecting to States

SCXML Traffic Light (Static, QML)

Running the Example

Compiling the State Machine

.pro when using qmake:

CMakeLists.txt when using cmake:

Instantiating the State Machine

Connecting to States

SCXML Traffic Light (Static, Widgets)

Running the Example

Compiling the State Machine

.pro when using qmake:

CMakeLists.txt when using cmake:

Instantiating the State Machine

Connecting to States

ScxmlStateMachine

StateMachineLoader

Using the Qt SCXML Compiler (qscxmlc)

Usage

Command-Line Options

qt_add_statecharts

qt6_add_statecharts

Description

Synopsis

Qt SCXML Examples

Qt SCXML C++ Classes

Qt SCXML QML Types