# 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/turbojpeg/include $$PWD/../3rdparty/hgOCR/include LIBS += -L$$PWD/../3rdparty/opencv/x86/lib -L$$PWD/../3rdparty/turbojpeg/x86/lib -L$$PWD/../3rdparty/hgOCR/x86/lib CONFIG(release, debug|release){ LIBS += -lopencv_world346 -lturbojpeg -lHG_OCR4 } CONFIG(debug, debug|release){ LIBS += -lopencv_world346d -lturbojpeg -lHG_OCR4 } 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/JpegBuffer.cpp \ Device/PaperSize.cpp \ Device/PublicFunc.cpp \ Device/UsbScanEx.cpp \ Device/config_new.cpp \ Device/GScan.cpp \ Device/jpeglib.cpp \ Device/scn_config.cpp \ Device/cJSON.cpp \ Device/CJsonObject.cpp \ Device/JsonConfig.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 \ 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/JpegBuffer.h \ Device/PaperSize.h \ Device/PublicFunc.h \ Device/UsbScanEx.h \ Device/config_new.h \ Device/device_common.h \ Device/GScan.h \ Device/jpeglib.h \ Device/scn_config.h \ Device/filetools.h \ Device/cJSON.h \ Device/JsonConfig.h \ Device/CJsonObject.hpp \ 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 \ Sliders.h \ SmartEdit.h \ TabCtrlSSL.h \ TabPageSSL.h \ resource.h \ stdafx.h \ targetver.h \ twglue.hpp RC_FILE += huagaotwds.rc