I am working on simple app on windows to scan the serial port. Error:
undefined reference to `_imp___ZN15QSerialPortInfo14availablePortsEv'
My Code:
foreach(const QSerialPortInfo &info, QSerialPortInfo::availablePorts()) {
// do something
}
What does the error mean and how to fix it.