Program parameters passed
The file path as a parameter passed to the program, if the file path contains Chinese, Chinese resolves not come out, try a variety of methods, using fromLocal8Bit method.
char* fileDp = argv[1];
QString filePath = QString::fromLocal8Bit(fileDp);
QFile fileInfo(filePath);
qDebug() << fileInfo.fileName;
QFile method QT is provided a method of direct access to the file name, filePath is the path to the current file.