Qt Usb C++ Classes

List of C++ classes that enable access to usb devices. More...

Classes

QHidDevice

This class handles all HID operations

QUsbDevice::Config

Device configuration structure

QUsbDevice::Id

Device Ids structure

QUsbDevice

This class handles opening and configuring the device

QUsbEndpoint

This class handles transfers between endpoints and the host

QUsbInfo

This class handles hotplug and device detection

Detailed Description

To import the module, add this line to your qmake project file:


  QT += usb

To use QtUsb in your application, you will need the following include statements:


  #include <QUsbDevice>
  #include <QUsbEndpoint>

For QUsbInfo (listing devices, hotplug), use the following include statement:


  #include <QUsbInfo>

For HID, only the QHidDevice class is needed:


  #include <QHidDevice>