Nesta página

Qt Serial Port Exemplos

O Qt Serial Port módulo fornece os seguintes exemplos como referência para ajudar a entender o uso da API.

Executando o exemplo

Você pode executar o exemplo a partir de:

Blocking Receiver

Mostra como usar a API síncrona do QSerialPort em uma thread que não seja da GUI.

Blocking Sender

Mostra como usar a API síncrona do QSerialPort em uma thread de trabalho.

Serial Terminal

Mostra como usar vários recursos do 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.