Qt SCXML および Qt Creator での State Chart サポート
January 25, 2017 by 鈴木 佑 | Comments
この記事は The Qt Blog の Qt SCXML and State Chart Support in Qt Creator を翻訳したものです。
執筆: aportale, 2017年1月23日
Qt 4.6 での Qt State Machine Framework の導入以降、Qt ではステートマシーンを利用したアプリケーションの開発がサポートされています。今回 Qt 5.8 と Qt Creator 4.2 で新たに導入されたステートマシーン向けの対応により、その開発がさらに簡単になりました。
Qt 5.8 では Qt SCXML module が正式対応となり、SCXML を利用したステートマシーンを Qt で使うのがとても簡単になりました。これまでは SCXML は外部のツールを利用して Qt に取り込んでいて、それは依然として可能です。しかし、Qt Creator 4.2 ではステートチャートのビジュアルエディタが実験的にサポートされたため、これを利用して Qt Creator の中でステートチャートを作成したり、編集したりといったことが可能になります。このエディタと最近の Qt Creator の改善により、ステートマシーンを利用したアプリケーションの開発が Qt Creator だけで可能になったということです。
新機能の使い方の紹介のための動画をご覧ください。このデモではシンプルなステートマシーンを利用した Traffic Light アプリケーションを Qt Quick で0から作成しています。
[embed]https://www.youtube.com/watch?v=9xqhq9nDiOg[/embed]
ちなみに、このエディタ自体は Qt Creator 4.2 では実験段階なため、デフォルトではプラグインはロードされません。Help > About Plugins (Qt Creator > About Plugins on macOS) より有効にしてお試しください。
Blog Topics:
Comments
Subscribe to our newsletter
Subscribe Newsletter
Try Qt 6.5 Now!
Download the latest release here: www.qt.io/download.
Qt 6.5 is the latest Long-Term-Support release with all you need for C++ cross-platform app development.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
We're Hiring
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.Henkilön Qt (@theqtcompany) jakama julkaisu