IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt State Machine

Provides functionality to create and execute state graphs.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt State Machine

The State Machine framework provides classes for creating and executing state graphs.

Getting Started

To include the definitions of the module's classes, use the following directive:

 
Sélectionnez
#include <QStateMachine>

To import the QML types into your application, use the following import statement in your .qml file:

 
Sélectionnez
import QtQml.StateMachine

To link against the module:

When using CMake add to CMakeLists.txt:

 
Sélectionnez
find_package(Qt6 COMPONENTS StateMachine REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::StateMachine)

When using qmake add to the project .pro file:

 
Sélectionnez
QT += statemachine

Articles and Guides

Examples

Reference

Module Evolution

Changes to Qt State Machine lists important changes in the module API and functionality that were done for the Qt 6 series of Qt.

Licenses and Trademarks

The Qt State Machine module is available under commercial licenses from The Qt Company. In addition, it is available under free software licenses: The GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.

Furthermore, Qt State Machine in Qt 6.1.3 may contain third party modules under following permissive licenses:

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+