Qt Serial Port 例
この Qt Serial Port モジュールでは、API の使用方法を理解するための参考として、以下の例を用意しています。
例の実行
サンプルは次の手順で実行できます:
- Qt Creator
Welcome モードを開き、Examples からサンプルを選択します。詳細については、Qt Creator の「チュートリアル: ビルドと実行」を参照してください。
- Qt Extension for Visual Studio Code
Command Palette から `Qt: Open Qt examples ` コマンドを実行し、リストからサンプルを選択します。詳細については、Qt Extension for Visual Studio Code の「チュートリアル: ビルドと実行」を参照してください。
非GUIスレッドで QSerialPort の同期 API を使用する方法を示します。 | |
ワーカースレッドで QSerialPort の同期 API を使用する方法を示します。 | |
QSerialPortのさまざまな機能の使用方法を示します。 |
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.