获取本机ip地址

QString ipOfQstring = QHostAddress(QHostAddress::LocalHost).toString();

 

posted @ 2018-09-10 08:44  xianyongchao  阅读(191)  评论(0)    收藏  举报