代码如下:
QString path;
QDir dir;
path=dir.currentPath();
QMessageBox::warning(0,"PATH",path,QMessageBox::Yes);//查看路径
代码如下:
QString path;
QDir dir;
path=dir.currentPath();
QMessageBox::warning(0,"PATH",path,QMessageBox::Yes);//查看路径