Qt选择文件路径

QString file_path = QFileDialog::getExistingDirectory(this, "请选择文件路径...", "./");
if(file_path.isEmpty())
{
    return;
}