forked from qt-creator/qt-creator
Import from: https://github.com/qt/qtscxml/tree/dev/examples/scxml/trafficlight-common and implement it in terms of TaskTree. The recipe() corresponds to trafficlight.scxml file and implements the business logic. Used components: TimeoutTask and BarrierTask. Change-Id: Ifc08b947388abed8cfc85ba082aaa0b18da0a1d7 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
13 lines
242 B
CMake
13 lines
242 B
CMake
add_qtc_test(tst_tasking_trafficlight
|
|
MANUALTEST
|
|
DEPENDS Tasking Qt::Concurrent Qt::Network Qt::Widgets
|
|
SOURCES
|
|
glueinterface.h
|
|
main.cpp
|
|
recipe.cpp
|
|
recipe.h
|
|
trafficlight.cpp
|
|
trafficlight.h
|
|
trafficlight.qrc
|
|
)
|