Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Command Line Enumerator Example

Shows how to get information about serial devices in a system.

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

This command line example displays information about serial ports in a console, 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.

Example project @ code.qt.io

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded