From cdf949e697a9c352af6835cc146d87283979e69a Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Fri, 17 Jun 2022 15:02:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E9=99=A4uos=E5=A4=96=E7=9A=84?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=9D=87=E6=8C=89kylin=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=9D=A5=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-qt/HGSolution/HGScanner.pro | 34 +++---------------------------- build.sh | 6 +----- 2 files changed, 4 insertions(+), 36 deletions(-) diff --git a/build-qt/HGSolution/HGScanner.pro b/build-qt/HGSolution/HGScanner.pro index ab9dd40d..6b7642c9 100644 --- a/build-qt/HGSolution/HGScanner.pro +++ b/build-qt/HGSolution/HGScanner.pro @@ -52,6 +52,7 @@ unix { message($$ARCH) contains(DISTRIBUTION, UnionTech){ + message('UOS') DEFINES += UOS contains(ARCH, x86_64){ LIBS += -L../../../release/uos/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver @@ -80,8 +81,8 @@ unix { } } - } - contains(DISTRIBUTION, Kylin){ + }else{ + message('KYLIN') DEFINES += KYLIN contains(ARCH, x86_64){ LIBS += -L../../../release/kylin/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver @@ -111,35 +112,6 @@ unix { } } } - contains(DISTRIBUTION, 方德桌面操作系统){ - contains(ARCH, x86_64){ - LIBS += -L../../../release/kylin/x86_64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver - CONFIG(release, debug|release) { - DESTDIR = ../../../release/kylin/x86_64/ - } - CONFIG(debug, debug|release) { - - } - } - contains(ARCH, aarch64){ - LIBS += -L../../../release/kylin/aarch64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver - CONFIG(release, debug|release) { - DESTDIR = ../../../release/kylin/aarch64/ - } - CONFIG(debug, debug|release) { - - } - } - contains(ARCH, mips64){ - LIBS += -L../../../release/kylin/mips64 -lHGBase -lHGImgFmt -lHGImgProc -lsane-hgsane -lhgdriver - CONFIG(release, debug|release) { - DESTDIR = ../../../release/kylin/mips64/ - } - CONFIG(debug, debug|release) { - - } - } - } } INCLUDEPATH += $$PWD/../../app/scanner/ diff --git a/build.sh b/build.sh index 0e354dc5..e43711ab 100755 --- a/build.sh +++ b/build.sh @@ -14,11 +14,7 @@ echo $arch if [ ${systype} = "UnionTech" ] then system="uos" -elif [ ${systype} = "Kylin" ] -then - system="kylin" -elif [ ${systype} = "方德桌面操作系统" ] -then +else system="kylin" fi