具体参考博客:https://blog.csdn.net/u011283226/article/details/101382747
当遇到路径打印的时候,正确的路径打印是:
qDebug().noquote() << "qDebug:" << dir;