diff --git a/build.sh b/build.sh index b710a6d7..f5cd6620 100755 --- a/build.sh +++ b/build.sh @@ -103,7 +103,7 @@ if [ "${1}" == "hwall" ] || [ "${1}" == "hw" ]|| [ "${1}" == "hwweb" ] || [ "${ fi fi -elif [ "${1}" == "lscall" ] || [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] || [ "${1}" == "lscso" ] || [ "${1}" == "lsctwain" ]; then +elif [ "${1}" == "lscall" ] || [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] || [ "${1}" == "lscwebscan" ] || [ "${1}" == "lscso" ] || [ "${1}" == "lsctwain" ]; then if [ "${1}" == "lscall" ]; then @@ -152,6 +152,13 @@ elif [ "${1}" == "lscall" ] || [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] || make -j8 cd ../ + elif [ "${1}" == "lscwebscan" ]; then + + cd HGWebScan + qmake -qt=qt5 -makefile "DEFINES += OEM_LISICHENG" HGWebScan.pro + make -j8 + cd ../ + elif [ "${1}" == "lsctwain" ]; then cd HGTwainUI diff --git a/build2/qt/HGSolutionLinux.pro b/build2/qt/HGSolutionLinux.pro index 7907ecd2..4e57691b 100644 --- a/build2/qt/HGSolutionLinux.pro +++ b/build2/qt/HGSolutionLinux.pro @@ -12,7 +12,8 @@ SUBDIRS += \ HGUpgrade \ HGFWUpgrade \ HGScanner2 \ - HGScanTool + HGScanTool \ + HGWebScan HGImgFmt.depends = \ HGBase @@ -62,3 +63,8 @@ HGScanTool.depends = \ HGBase \ HGImgFmt \ HGImgProc + +HGWebScan.depends = \ + HGBase \ + HGImgFmt \ + HGImgProc diff --git a/build2/qt/HGWebScan/HGWebScan.pro b/build2/qt/HGWebScan/HGWebScan.pro index 74295ab7..00ceb519 100644 --- a/build2/qt/HGWebScan/HGWebScan.pro +++ b/build2/qt/HGWebScan/HGWebScan.pro @@ -96,7 +96,7 @@ unix { LIBS += -lpthread -ldl LIBS += -L$$PWD/../../build/$${MY_OS}/$${OEM_NAME}/$${MY_ARCH}/$${MY_CONFIGURE} -l$${OEM_PREFIX2}Base -l$${OEM_PREFIX2}ImgFmt -l$${OEM_PREFIX2}ImgProc - LIBS += -L$$PWD/../../../../release/$${MY_OS}/$${MY_ARCH2} -lsane-$${OEM_PREFIX3}sane + LIBS += -L$$PWD/../../../../release/$${MY_OS}/$${MY_ARCH2} -lcommonlog -lsane-$${OEM_PREFIX3}sane } INCLUDEPATH += $$PWD/../../../modules