Qt Serial Port Ejemplos
El Qt Serial Port módulo ofrece los siguientes ejemplos a modo de referencia para facilitar la comprensión del uso de la API.
Ejecución del ejemplo
Puedes ejecutar el ejemplo desde:
- Qt Creator
Abre el modo « Welcome » y selecciona el ejemplo en Examples. Para obtener más información, consulta Qt Creator: Tutorial: Compilar y ejecutar.
- Qt Extension for Visual Studio Code
Ejecute el comando « Qt: Open Qt examples » desde « Command Palette » y seleccione el ejemplo de la lista. Para obtener más información, consulte Qt Extension for Visual Studio Code: Tutorial: Compilar y ejecutar.
Muestra cómo utilizar la API síncrona de QSerialPort en un hilo que no sea de la interfaz gráfica de usuario. | |
Muestra cómo utilizar la API sincrónica de QSerialPort en un hilo de trabajo. | |
Muestra cómo utilizar diversas funciones de 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.