Registry / networking / qtserialbus

qtserialbus

JSON →
library6.10.1vcpkgunverified

The Qt Serial Bus API provides classes and functions to access the various industrial serial buses and protocols, such as CAN, ModBus, and others.

vcpkg install qtserialbus
INSTALL
IMPORT
SIG · QTSERIALBUS
Q
qtserialbus
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.

QCanBus
#include <QCanBus>

Send a CAN bus frame using Qt Serial Bus

#include <QCoreApplication> #include <QCanBus> #include <QCanBusFrame> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QCanBusDevice *device = QCanBus::instance()->createDevice("socketcan", "can0"); device->connectDevice(); QCanBusFrame frame; frame.setFrameId(0x123); frame.setPayload(QByteArray::fromHex("deadbeef")); device->writeFrame(frame); return 0; }
Debug
Known issues
gotchaPlatform-specific backends (e.g., SocketCAN on Linux) may require additional setup.
fix
Ensure appropriate kernel modules or drivers are installed for the target bus.
affects: all
Upgrade
Version history
6.10.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

qtserialbus — pip install qtserialbus · libregistry