linux上增加HGWebScan的编译

This commit is contained in:
luoliangyi 2024-10-18 15:32:45 +08:00
parent d8582b9f53
commit 9f90ba0c7e
3 changed files with 16 additions and 3 deletions

View File

@ -103,7 +103,7 @@ if [ "${1}" == "hwall" ] || [ "${1}" == "hw" ]|| [ "${1}" == "hwweb" ] || [ "${
fi fi
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 if [ "${1}" == "lscall" ]; then
@ -152,6 +152,13 @@ elif [ "${1}" == "lscall" ] || [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] ||
make -j8 make -j8
cd ../ cd ../
elif [ "${1}" == "lscwebscan" ]; then
cd HGWebScan
qmake -qt=qt5 -makefile "DEFINES += OEM_LISICHENG" HGWebScan.pro
make -j8
cd ../
elif [ "${1}" == "lsctwain" ]; then elif [ "${1}" == "lsctwain" ]; then
cd HGTwainUI cd HGTwainUI

View File

@ -12,7 +12,8 @@ SUBDIRS += \
HGUpgrade \ HGUpgrade \
HGFWUpgrade \ HGFWUpgrade \
HGScanner2 \ HGScanner2 \
HGScanTool HGScanTool \
HGWebScan
HGImgFmt.depends = \ HGImgFmt.depends = \
HGBase HGBase
@ -62,3 +63,8 @@ HGScanTool.depends = \
HGBase \ HGBase \
HGImgFmt \ HGImgFmt \
HGImgProc HGImgProc
HGWebScan.depends = \
HGBase \
HGImgFmt \
HGImgProc

View File

@ -96,7 +96,7 @@ unix {
LIBS += -lpthread -ldl 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/../../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 INCLUDEPATH += $$PWD/../../../modules