x86_64屏蔽Ocr

This commit is contained in:
yangjiaxuan 2022-07-20 17:51:44 +08:00
parent f2603303f4
commit 7b13bec0d0
4 changed files with 12 additions and 5 deletions

View File

@ -41,7 +41,7 @@ Dialog_AquireInto::Dialog_AquireInto(QWidget* parent) :
ui->lineEdit_fileName->setText(getCfgValue("aquire", "namePrefix", QString("HGScan")));
#endif
#if defined(OEM_LISICHENG)
#if defined(OEM_LISICHENG) || defined(x86_64)
ui->cbox_format->removeItem(7);
ui->cbox_format->removeItem(6);
#endif

View File

@ -25,7 +25,7 @@ static struct
int attr;
}g_support_type[] =
{
#if defined(OEM_LISICHENG)
#if defined(OEM_LISICHENG) || defined(x86_64)
{".jpg", "JPG - JPEG / JFIF", FILE_TYPE_ATTR_MORE_OPTIONS}
, {".bmp", "BMP - Windows Bitmap", FILE_TYPE_ATTR_NO_MORE_OPTION}
, {".png", "PNG - Portable Network Graphics", FILE_TYPE_ATTR_NO_MORE_OPTION}

View File

@ -15,7 +15,7 @@ Dialog_SaveAs::Dialog_SaveAs(QWidget *parent) :
ui->fileDialog->setWindowFlags(ui->fileDialog->windowFlags() & ~Qt::Dialog);
ui->fileDialog->setOption(QFileDialog::DontUseNativeDialog, true);
ui->fileDialog->setSizeGripEnabled(false);
#if defined(OEM_LISICHENG)
#if defined(OEM_LISICHENG) || defined(x86_64)
ui->fileDialog->setNameFilter("JPG - JPEG / JFIF(*.jpg);;"
"BMP - Windows Bitmap(*.bmp);;"
"PNG - Portable Network Graphics(*.png);;"

View File

@ -26,6 +26,7 @@ win32 {
DEFINES += _CRT_SECURE_NO_WARNINGS
contains(QT_ARCH, i386) {
DEFINES += i386
LIBS += -L../../../../sdk/lib/win/x86/Release -lHGBase -lHGImgFmt -lHGImgProc -lsane
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/win/x86/Release/
@ -53,8 +54,9 @@ unix {
contains(DISTRIBUTION, UnionTech){
message('UOS')
DEFINES += UOS
DEFINES += UOS
contains(ARCH, x86_64){
DEFINES += x86_64
LIBS += -L../../../../release/uos/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/uos/x86_64/
@ -64,6 +66,7 @@ unix {
}
}
contains(ARCH, aarch64){
DEFINES += aarch64
LIBS += -L../../../../release/uos/aarch64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/uos/aarch64/
@ -73,6 +76,7 @@ unix {
}
}
contains(ARCH, mips64){
DEFINES += mips64
LIBS += -L../../../../release/uos/mips64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/uos/mips64/
@ -83,8 +87,9 @@ unix {
}
}else{
message('KYLIN')
DEFINES += KYLIN
DEFINES += KYLIN
contains(ARCH, x86_64){
DEFINES += x86_64
LIBS += -L../../../../release/kylin/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/kylin/x86_64/
@ -94,6 +99,7 @@ unix {
}
}
contains(ARCH, aarch64){
DEFINES += aarch64
LIBS += -L../../../../release/kylin/aarch64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/kylin/aarch64/
@ -103,6 +109,7 @@ unix {
}
}
contains(ARCH, mips64){
DEFINES += mips64
LIBS += -L../../../../release/kylin/mips64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver
CONFIG(release, debug|release) {
DESTDIR = ../../../../release/kylin/mips64/