QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 TARGET = ProductionTool RC_ICONS = image_rsc/logo/logo.ico win32 { DEFINES += _CRT_SECURE_NO_WARNINGS contains(QT_ARCH, i386) { LIBS += -L../../../sdk/lib/win/x86/Release -lHGBase -lHGImgFmt -lHGImgProc LIBS += -L../../../sdk/lib/win/x86/OEM/huagao -lsane CONFIG(release, debug|release) { LIBS += -L../../db/Release -lHGPdtToolDb LIBS += -L../../code/base/Release/ -ltest DESTDIR = ../../../release/win/x86/Release } CONFIG(debug, debug|release) { LIBS += -L../../db/Debug -lHGPdtToolDb LIBS += -L../../code/base/Debug/ -ltest } } contains(QT_ARCH, x86_64){ LIBS += -L../../../sdk/lib/win/x64/Release -lHGBase -lHGImgFmt -lHGImgProc LIBS += -L../../../sdk/lib/win/x64/OEM/huagao -lsane CONFIG(release, debug|release) { LIBS += -L../../db/x64/Release -lHGPdtToolDb LIBS += -L../../code/base/x64/Release/ -ltest DESTDIR = ../../../release/win/x64/Release } CONFIG(debug, debug|release) { LIBS += -L../../db/x64/Debug -lHGPdtToolDb LIBS += -L../../code/base/x64/Debug/ -ltest } } } INCLUDEPATH += $$PWD/../../../sdk/include/ INCLUDEPATH += $$PWD/../../db/HGPdtToolDb/ INCLUDEPATH += $$PWD/../../code/base/ SOURCES += \ ../../../code_app/utility/HGString.cpp \ HGImgView.cpp \ HGUIGlobal.cpp \ analysisjson.cpp \ dialog_accountmanage.cpp \ dialog_changepwd.cpp \ dialog_excepdesc.cpp \ dialog_hgmessagebox.cpp \ dialog_inputserialnum.cpp \ dialog_login.cpp \ dialog_rootfuntion.cpp \ dialog_setburnsn.cpp \ dialog_uploadcfgfile.cpp \ dialog_userinput.cpp \ form_burnmode.cpp \ form_maininterface.cpp \ form_texttips.cpp \ hgscanner.cpp \ main.cpp \ mainwindow.cpp \ ui_helper.cpp HEADERS += \ ../../../code_app/utility/HGString.h \ HGImgView.h \ HGUIGlobal.h \ analysisjson.h \ dialog_accountmanage.h \ dialog_changepwd.h \ dialog_excepdesc.h \ dialog_hgmessagebox.h \ dialog_inputserialnum.h \ dialog_login.h \ dialog_rootfuntion.h \ dialog_setburnsn.h \ dialog_uploadcfgfile.h \ dialog_userinput.h \ form_burnmode.h \ form_maininterface.h \ form_texttips.h \ hgscanner.h \ mainwindow.h \ ui_helper.h FORMS += \ dialog_accountmanage.ui \ dialog_changepwd.ui \ dialog_excepdesc.ui \ dialog_hgmessagebox.ui \ dialog_inputserialnum.ui \ dialog_login.ui \ dialog_rootfuntion.ui \ dialog_setburnsn.ui \ dialog_uploadcfgfile.ui \ dialog_userinput.ui \ form_burnmode.ui \ form_maininterface.ui \ form_texttips.ui \ mainwindow.ui RESOURCES += \ ProductionTool_resource.qrc TRANSLATIONS += \ ProductionTool_zh_CN.ts DISTFILES += \ ProductionTool_zh_CN.qm