QString hostName=QHostInfo::localHostName();//本地主机名 ui->plainTextEdit->appendPlainText(u8"本机主机名:"+hostName+"\n");