Qt Serial Port C++ Classes
Lista de clases C++ que permiten el acceso a un puerto serie. Más...
Clases
Proporciona funciones para acceder a puertos serie | |
Proporciona información sobre los puertos serie existentes |
Descripción detallada
Para utilizar QSerialPort en su aplicación, añada la siguiente sentencia include:
#include <QSerialPort>Para QSerialPortInfo, utilice la siguiente sentencia include:
#include <QSerialPortInfo>Para utilizar el módulo con cmake, utilice el comando find_package() para localizar los componentes necesarios del módulo en el paquete Qt6:
find_package(Qt6 REQUIRED COMPONENTS SerialPort)
target_link_libraries(mytarget PRIVATE Qt6::SerialPort)Para utilizar el módulo para la construcción con qmake, añada el módulo como valor de la variable QT en el archivo .pro del proyecto:
QT += serialport
© 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.