# compile with 32bit compiler # place the resulting file "simpleds.ds" into \Windows\twain_32 # do not forget to have all dependencies present in the PATH QT -= core gui TARGET = huagaoscands TARGET_EXT = .ds TEMPLATE = lib CONFIG += c++11 DEFINES += TWPP_IS_DS _AFXDLL INCLUDEPATH += $$PWD/../ $$PWD/../twpp $$PWD/../3rdparty/opencv/include $$PWD/../3rdparty/nick $$PWD/../3rdparty/gpdf CONFIG(release, debug|release){ LIBS += -L$$PWD/../3rdparty/opencv/x86/staticlib/release \ -L$$PWD/../3rdparty/gpdf/x86/staticlib/release \ -L$$PWD/../3rdparty/gpdf/3rdparty/tesseract/staticlib/x86/release LIBS += -lopencv_core343 -lopencv_highgui343 -lopencv_imgproc343 -lopencv_imgcodecs343 -lhg_gpdf \ -lzlib -llibtiff -littnotify -llibjpeg-turbo -llibwebp -llibpng -llibjasper -lIlmImf \ -lcvblob -llibjpeg -llibleptonica -llibprotobuf -lquirc -lxtiff \ -ltesseract_api -ltesseract_arch -ltesseract_ccmain -ltesseract_ccstruct -ltesseract_ccutil -ltesseract_classify \ -ltesseract_cutil -ltesseract_dict -ltesseract_lstm -ltesseract_opencl -ltesseract_textord -ltesseract_viewer -ltesseract_wordrec } CONFIG(debug, debug|release){ LIBS += -L$$PWD/../3rdparty/opencv/x86/staticlib/debug \ -L$$PWD/../3rdparty/gpdf/x86/staticlib/debug \ -L$$PWD/../3rdparty/gpdf/3rdparty/tesseract/staticlib/x86/debug LIBS += -lopencv_core343d -lopencv_highgui343d -lopencv_imgproc343d -lopencv_imgcodecs343d -lhg_gpdf \ -lzlibd -llibtiffd -littnotifyd -llibjpeg-turbod -llibwebpd -llibpngd -llibjasperd -lIlmImfd \ -llibprotobufd -lcvblob -llibjpeg -llibleptonica -lquirc -lxtiff \ -ltesseract_api -ltesseract_arch -ltesseract_ccmain -ltesseract_ccstruct -ltesseract_ccutil -ltesseract_classify \ -ltesseract_cutil -ltesseract_dict -ltesseract_lstm -ltesseract_opencl -ltesseract_textord -ltesseract_viewer -ltesseract_wordrec } DEF_FILE = exports.def SOURCES += huagaods.cpp \ CAboutDlg.cpp \ CBasicPage.cpp \ CBrightnessPage.cpp \ CFeedPaperPage.cpp \ CImageProcPage.cpp \ CIndicatorDlg.cpp \ CSaveConfigDlg.cpp \ CTwainMutex.cpp \ CTwainUI.cpp \ Device/GDevice.cpp \ Device/GDeviceLists.cpp \ Device/GScan200.cpp \ Device/GScanO200.cpp \ Device/GScanVirtual.cpp \ Device/ImageMatQueue.cpp \ Device/ImageMultiOutput.cpp \ Device/PaperSize.cpp \ Device/PublicFunc.cpp \ Device/UsbScanEx.cpp \ Device/config_new.cpp \ Device/GScan.cpp \ Device/scn_config.cpp \ Device/cJSON.cpp \ Device/CJsonObject.cpp \ Device/JsonConfig.cpp \ Device/GetMemoryUsage.cpp \ Device/G400ScanConfig.cpp \ ImageProcess/ImageApply.cpp \ ImageProcess/ImageApplyAdjustColors.cpp \ ImageProcess/ImageApplyAutoCrop.cpp \ ImageProcess/ImageApplyBWBinaray.cpp \ ImageProcess/ImageApplyChannel.cpp \ ImageProcess/ImageApplyCrop.cpp \ ImageProcess/ImageApplyDiscardBlank.cpp \ ImageProcess/ImageApplyOutHole.cpp \ ImageProcess/ImageApplyResize.cpp \ ImageProcess/ImageApplyRotation.cpp \ ImageProcess/ImageApplySharpen.cpp \ ImageProcess/ImageProcess_Public.cpp \ ImageProcess/ImageApplyConcatenation.cpp \ G400ScanConfig.cpp \ Sliders.cpp \ SmartEdit.cpp \ TabCtrlSSL.cpp \ TabPageSSL.cpp \ stdafx.cpp HEADERS += huagaods.hpp \ CAboutDlg.h \ CBasicPage.h \ CBrightnessPage.h \ CFeedPaperPage.h \ CImageProcPage.h \ CIndicatorDlg.h \ CSaveConfigDlg.h \ CTwainMutex.h \ CTwainUI.h \ Device/BlockingQueue.h \ Device/GDevice.h \ Device/GDeviceLists.h \ Device/GScan200.h \ Device/GScanO200.h \ Device/GScanVirtual.h \ Device/IConfig.h \ Device/IGDevice.h \ Device/IUsb.h \ Device/ImageMatQueue.h \ Device/ImageMultiOutput.h \ Device/PaperSize.h \ Device/PublicFunc.h \ Device/UsbScanEx.h \ Device/config_new.h \ Device/device_common.h \ Device/GetMemoryUsage.h \ Device/GScan.h \ Device/scn_config.h \ Device/filetools.h \ Device/cJSON.h \ Device/JsonConfig.h \ Device/CJsonObject.hpp \ Device/G400ScanConfig.h \ ImageProcess/ImageApply.h \ ImageProcess/ImageApplyAdjustColors.h \ ImageProcess/ImageApplyAutoCrop.h \ ImageProcess/ImageApplyBWBinaray.h \ ImageProcess/ImageApplyChannel.h \ ImageProcess/ImageApplyCrop.h \ ImageProcess/ImageApplyDiscardBlank.h \ ImageProcess/ImageApplyHeaders.h \ ImageProcess/ImageApplyOutHole.h \ ImageProcess/ImageApplyResize.h \ ImageProcess/ImageApplyRotation.h \ ImageProcess/ImageApplySharpen.h \ ImageProcess/ImageProcess_Public.h \ ImageProcess/ImageApplyConcatenation.h \ Sliders.h \ SmartEdit.h \ TabCtrlSSL.h \ TabPageSSL.h \ resource.h \ stdafx.h \ targetver.h \ twglue.hpp RC_FILE += huagaotwds.rc