添加麒麟帮助文档路径

This commit is contained in:
yangjiaxuan 2022-05-27 15:23:12 +08:00
parent 5b6abe1aa7
commit e68e9cf96d
2 changed files with 20 additions and 7 deletions

View File

@ -2368,13 +2368,25 @@ void MainWindow::on_act_help_triggered()
QString filename = QApplication::applicationDirPath() + "/HuaGoScan_App_Help_manual.pdf";
#endif
#else
#if defined(OEM_HANWANG)
QString filename = "/opt/apps/com.hanvonchina.hanvonscan/entries/help/HanvonScan_App_Help_manual.pdf";
#elif defined(OEM_LISICHENG)
QString filename = "/opt/apps/com.lanxumchina.lanxumscan/entries/help/LanxumScan_App_Help_manual.pdf";
#if defined (UOS)
#if defined(OEM_HANWANG)
QString filename = "/opt/apps/com.hanvonchina.hanvonscan/entries/help/HanvonScan_App_Help_manual.pdf";
#elif defined(OEM_LISICHENG)
QString filename = "/opt/apps/com.lanxumchina.lanxumscan/entries/help/LanxumScan_App_Help_manual.pdf";
#else
QString filename = "/opt/apps/com.huagaochina.huagoscan/entries/help/HuaGoScan_App_Help_manual.pdf";
#endif
#elif defined(KYLIN)
#if defined(OEM_HANWANG)
QString filename = "/opt/apps/scanner-driver-hanvon/doc/HanvonScan_App_Help_manual.pdf";
#elif defined(OEM_LISICHENG)
QString filename = "/opt/apps/scanner-driver-lanxum/doc/entries/help/LanxumScan_App_Help_manual.pdf";
#else
QString filename = "/opt/apps/scanner-driver-huagao/doc/help/HuaGoScan_App_Help_manual.pdf";
#endif
#else
QString filename = "/opt/apps/com.huagaochina.huagoscan/entries/help/HuaGoScan_App_Help_manual.pdf";
#endif
QString filename = nullptr;
#endif
#endif
QFileInfo info(filename);

View File

@ -52,6 +52,7 @@ unix {
message($$ARCH)
contains(DISTRIBUTION, UnionTech){
DEFINES += UOS
contains(ARCH, x86_64){
LIBS += -L../../../release/uos/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
@ -81,7 +82,7 @@ unix {
}
}
contains(DISTRIBUTION, Kylin){
DEFINES += KYLIN
contains(ARCH, x86_64){
LIBS += -L../../../release/kylin/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {