QT中添加chm帮助文档
法1
#include <QDesktopServices>
QString fileName = qApp->applicationDirPath() + "/help.chm";
QDesktopServices::openUrl(QUrl(fileName, QUrl::TolerantMode));
法2
QProcess process;
process.startDetached("hh.exe help.chm");
process.waitForStarted();