Registry / networking / qtserialport

qtserialport

JSON →
library6.10.1vcpkgunverified

Qt Serial Port provides basic functionality for configuration, I/O operations, and getting and setting the control signals of the RS-232 pinouts.

vcpkg install qtserialport
INSTALL
IMPORT
SIG · QTSERIALPORT
Q
qtserialport
networkingcppv6.10.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QSerialPort
#include <QSerialPort>

Open a serial port with Qt Serial Port.

#include <QCoreApplication> #include <QSerialPort> #include <iostream> int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QSerialPort serial; serial.setPortName("COM1"); serial.setBaudRate(QSerialPort::Baud9600); if (serial.open(QIODevice::ReadWrite)) { std::cout << "Serial port opened" << std::endl; } return 0; }
Debug
Known issues
gotchaRequires Qt6 SerialPort module; platform-specific behavior may vary.
fix
Use find_package(Qt6 REQUIRED COMPONENTS SerialPort) and link against Qt6::SerialPort.
affects: >=6.0
Upgrade
Version history
6.10.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources

No resource links recorded.

qtserialport — pip install qtserialport · libregistry