2022-12-14 06:39:22 +00:00
|
|
|
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) {
|
2022-12-14 07:39:42 +00:00
|
|
|
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
|
2022-12-28 13:03:01 +00:00
|
|
|
LIBS += -L../../code/base/Release/ -ltest
|
2022-12-14 07:09:12 +00:00
|
|
|
DESTDIR = ../../../release/win/x86/Release
|
2022-12-14 07:39:42 +00:00
|
|
|
}
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
LIBS += -L../../db/Debug -lHGPdtToolDb
|
2022-12-28 13:03:01 +00:00
|
|
|
LIBS += -L../../code/base/Debug/ -ltest
|
2022-12-14 07:39:42 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-14 06:39:22 +00:00
|
|
|
contains(QT_ARCH, x86_64){
|
2022-12-14 07:39:42 +00:00
|
|
|
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
|
2022-12-28 13:03:01 +00:00
|
|
|
LIBS += -L../../code/base/x64/Release/ -ltest
|
2022-12-14 07:39:42 +00:00
|
|
|
DESTDIR = ../../../release/win/x64/Release
|
|
|
|
}
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
LIBS += -L../../db/x64/Debug -lHGPdtToolDb
|
2022-12-28 13:03:01 +00:00
|
|
|
LIBS += -L../../code/base/x64/Debug/ -ltest
|
2022-12-14 07:39:42 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-14 06:39:22 +00:00
|
|
|
}
|
|
|
|
|
2022-12-14 07:39:42 +00:00
|
|
|
INCLUDEPATH += $$PWD/../../../sdk/include/
|
2022-12-14 06:39:22 +00:00
|
|
|
INCLUDEPATH += $$PWD/../../db/HGPdtToolDb/
|
2022-12-14 12:28:25 +00:00
|
|
|
INCLUDEPATH += $$PWD/../../code/base/
|
2022-12-14 06:39:22 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
2022-12-26 08:24:20 +00:00
|
|
|
../../../code_app/utility/HGString.cpp \
|
2022-12-14 06:39:22 +00:00
|
|
|
HGImgView.cpp \
|
|
|
|
HGUIGlobal.cpp \
|
|
|
|
analysisjson.cpp \
|
|
|
|
dialog_accountmanage.cpp \
|
|
|
|
dialog_changepwd.cpp \
|
2022-12-27 11:46:31 +00:00
|
|
|
dialog_excepdesc.cpp \
|
2022-12-16 11:01:30 +00:00
|
|
|
dialog_inputserialnum.cpp \
|
2022-12-14 06:39:22 +00:00
|
|
|
dialog_login.cpp \
|
|
|
|
dialog_rootfuntion.cpp \
|
2023-01-04 06:28:44 +00:00
|
|
|
dialog_setburnsn.cpp \
|
2022-12-14 12:28:25 +00:00
|
|
|
dialog_uploadcfgfile.cpp \
|
2022-12-27 08:25:47 +00:00
|
|
|
dialog_userinput.cpp \
|
2023-01-04 06:28:44 +00:00
|
|
|
form_burnmode.cpp \
|
2022-12-14 06:39:22 +00:00
|
|
|
form_maininterface.cpp \
|
|
|
|
form_texttips.cpp \
|
2022-12-15 07:00:12 +00:00
|
|
|
hgscanner.cpp \
|
2022-12-14 06:39:22 +00:00
|
|
|
main.cpp \
|
2022-12-15 07:00:12 +00:00
|
|
|
mainwindow.cpp \
|
|
|
|
ui_helper.cpp
|
2022-12-14 06:39:22 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2022-12-26 08:24:20 +00:00
|
|
|
../../../code_app/utility/HGString.h \
|
2022-12-14 06:39:22 +00:00
|
|
|
HGImgView.h \
|
|
|
|
HGUIGlobal.h \
|
|
|
|
analysisjson.h \
|
|
|
|
dialog_accountmanage.h \
|
|
|
|
dialog_changepwd.h \
|
2022-12-27 11:46:31 +00:00
|
|
|
dialog_excepdesc.h \
|
2022-12-16 11:01:30 +00:00
|
|
|
dialog_inputserialnum.h \
|
2022-12-14 06:39:22 +00:00
|
|
|
dialog_login.h \
|
|
|
|
dialog_rootfuntion.h \
|
2023-01-04 06:28:44 +00:00
|
|
|
dialog_setburnsn.h \
|
2022-12-14 12:28:25 +00:00
|
|
|
dialog_uploadcfgfile.h \
|
2022-12-27 08:25:47 +00:00
|
|
|
dialog_userinput.h \
|
2023-01-04 06:28:44 +00:00
|
|
|
form_burnmode.h \
|
2022-12-14 06:39:22 +00:00
|
|
|
form_maininterface.h \
|
|
|
|
form_texttips.h \
|
2022-12-15 07:00:12 +00:00
|
|
|
hgscanner.h \
|
|
|
|
mainwindow.h \
|
|
|
|
ui_helper.h
|
2022-12-14 06:39:22 +00:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
dialog_accountmanage.ui \
|
|
|
|
dialog_changepwd.ui \
|
2022-12-27 11:46:31 +00:00
|
|
|
dialog_excepdesc.ui \
|
2022-12-16 11:01:30 +00:00
|
|
|
dialog_inputserialnum.ui \
|
2022-12-14 06:39:22 +00:00
|
|
|
dialog_login.ui \
|
|
|
|
dialog_rootfuntion.ui \
|
2023-01-04 06:28:44 +00:00
|
|
|
dialog_setburnsn.ui \
|
2022-12-14 12:28:25 +00:00
|
|
|
dialog_uploadcfgfile.ui \
|
2022-12-27 08:25:47 +00:00
|
|
|
dialog_userinput.ui \
|
2023-01-04 06:28:44 +00:00
|
|
|
form_burnmode.ui \
|
2022-12-14 06:39:22 +00:00
|
|
|
form_maininterface.ui \
|
|
|
|
form_texttips.ui \
|
|
|
|
mainwindow.ui
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
ProductionTool_resource.qrc
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
2022-12-23 02:42:46 +00:00
|
|
|
ProductionTool_zh_CN.ts
|
2022-12-14 06:39:22 +00:00
|
|
|
|
|
|
|
DISTFILES += \
|
2022-12-23 02:42:46 +00:00
|
|
|
ProductionTool_zh_CN.qm
|