QT中添加chm帮助

QT中添加chm帮助文档

法1

   #include 
   
    QString fileName = qApp->applicationDirPath() + "/help.chm";
    QDesktopServices::openUrl(QUrl(fileName, QUrl::TolerantMode));

法2

QProcess process;
process.startDetached("hh.exe help.chm");
process.waitForStarted();

你可能感兴趣的:(qt,开发语言,c++)