qextserialport打不开com10及以上的串口

需要在portname前添加\\.\这样就可以了!!

例如
QString portname;
portname.append("\\.\").append(ui->SerialCom->currentText());
SerialCom->setPortName(portname);
原文地址:https://www.cnblogs.com/CoderTian/p/5000793.html