摘要: 1、头文件 #include<QHostAddress> #include<QNetworkInterface> 2、代码 1 QList<QHostAddress> list = QNetworkInterface::allAddresses(); 2 foreach(QHostAddress a 阅读全文
posted @ 2020-02-29 19:37 补码 阅读(401) 评论(0) 推荐(0) 编辑