2026-05-18 23:39:05 +08:00
|
|
|
|
#CONFIG -= qt
|
|
|
|
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
|
|
|
|
# Output directory configuration
|
|
|
|
|
|
TARGET = RodWeldSeamConfig
|
|
|
|
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
2026-07-20 11:52:35 +08:00
|
|
|
|
win32-g++ {
|
|
|
|
|
|
QMAKE_CXXFLAGS += -fexec-charset=UTF-8 -finput-charset=UTF-8
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
win32-msvc {
|
|
|
|
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
|
|
|
|
}
|
2026-05-18 23:39:05 +08:00
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += ./Inc
|
|
|
|
|
|
INCLUDEPATH += ./_Inc
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
|
Src/VrConfig.cpp \
|
|
|
|
|
|
Src/AlgoParamConverter.cpp
|
|
|
|
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
|
Inc/IVrConfig.h \
|
|
|
|
|
|
Inc/AlgoParamConverter.h \
|
|
|
|
|
|
_Inc/VrConfig.h
|
|
|
|
|
|
|
|
|
|
|
|
#utils
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/Inc
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/tinyxml2
|
|
|
|
|
|
|
2026-07-20 11:52:35 +08:00
|
|
|
|
# AppCommon - 公共配置结构体
|
2026-05-18 23:39:05 +08:00
|
|
|
|
INCLUDEPATH += $$PWD/../../../AppUtils/AppCommon/Inc
|
|
|
|
|
|
|
2026-07-20 11:52:35 +08:00
|
|
|
|
# AppConfig - 公共配置 XML 读写工具
|
2026-05-18 23:39:05 +08:00
|
|
|
|
INCLUDEPATH += $$PWD/../../../AppUtils/AppConfig/Inc
|
|
|
|
|
|
|
2026-07-13 18:38:03 +08:00
|
|
|
|
INCLUDEPATH += $$PWD/../../../Device/SDK/VzNLSDK/Inc
|
2026-05-18 23:39:05 +08:00
|
|
|
|
|
2026-07-20 11:52:35 +08:00
|
|
|
|
# 算法头文件(AlgoParamConverter 需要算法结构体定义)
|
2026-05-18 23:39:05 +08:00
|
|
|
|
INCLUDEPATH += $$PWD/../../../AppAlgo/rodAndBarDetection/Inc
|
|
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(debug, debug|release) {
|
|
|
|
|
|
LIBS += -L../../../Utils/VrUtils/Debug -lVrUtils
|
|
|
|
|
|
}else:win32:CONFIG(release, debug|release){
|
|
|
|
|
|
LIBS += -L../../../Utils/VrUtils/release -lVrUtils
|
|
|
|
|
|
}else:unix:!macx {
|
2026-07-20 11:52:35 +08:00
|
|
|
|
# Unix/Linux 平台库链接(包括交叉编译)
|
2026-05-18 23:39:05 +08:00
|
|
|
|
LIBS += -L../../../Utils/VrUtils -lVrUtils
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
|
|
unix {
|
|
|
|
|
|
target.path = /usr/lib
|
|
|
|
|
|
}
|
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|