Enumerator Example | Qt Serial Port 5.4

- Qt 5.4
- Qt Serial Port
- Enumerator Example
- Qt 5.4.2 Reference Documentation

# Enumerator Example

Enumerator shows how to use the class QSerialPortInfo for getting information about serial devices that are present in the system.

This GUI example displays information about serial ports in a widget, provided by the class QSerialPortInfo.

For getting information about the available ports, use the static method availablePorts().

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Files:

- enumerator/main.cpp
- enumerator/enumerator.pro