blob: 9b9b86fb51d5b1eb4a57086000220f89c2e3fb45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
//! [cmakebuild]
\code
find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
\endcode
//! [cmakebuild]
//! [qmakebuild]
\code
QT += scxml
\endcode
//! [qmakebuild]
//! [qmakestatecharts]
\code
STATECHARTS = MyStatemachine.scxml
\endcode
//! [qmakestatecharts]
//! [cmakestatecharts]
\code
qt_add_statecharts(mytarget
MyStatemachine.scxml
)
\endcode
//! [cmakestatecharts]
|