标签:local localhost class color hostname pos cal name host
//获取主机名 QString localHost = QHostInfo::localHostName();
QT获取主机名称
原文地址:http://www.cnblogs.com/amwuau/p/8021758.html