标签:res proc tostring nbsp rdo setting form start for
QApplication::setOverrideCursor(Qt::WaitCursor); //等待
QApplication::restoreOverrideCursor(); //恢复
QString str = QDateTime::currentDateTime().toString("yyyy-MM-dd hh-mm-ss zzz"); //zzz毫秒 ddd星期
QSettings sett("conf.ini",QSettings::IniFormat);
sett.beginGroup("group_1");
QString str = sett.value("name").toString();
QProcess p(0);
p.start("cmd",QStringList<<"/c"<<"ping baidu.com");
QString msg = QString::formlocal8Bit(p.readAllStandardoutput());
标签:res proc tostring nbsp rdo setting form start for
原文地址:http://www.cnblogs.com/alotus0/p/6767797.html