IVA/app/app.pro

61 lines
1.8 KiB
Prolog
Raw Normal View History

2023-10-20 23:36:22 +08:00
######################################################################
# Automatically generated by qmake (3.1) Fri Oct 20 22:09:25 2023
######################################################################
QT += sql network concurrent
TEMPLATE = app
# TARGET = app
CONFIG += debug_and_release
CONFIG(debug, debug|release){
TARGET = debug/app
} else {
TARGET = release/app
}
INCLUDEPATH += .
CONFIG += c++11
# You can make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# Please consult the documentation of the deprecated API in order to know
# how to port your code away from it.
# 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
# Input
HEADERS += HxDataBase.h HxTaskDispatch.h HxUtils.h HxVideoDevice.h
SOURCES += HxDataBase.cpp HxTaskDispatch.cpp HxVideoDevice.cpp main.cpp
# DEFINES += USE_RABBITMQ
2023-10-20 23:36:22 +08:00
# DEFINES += USE_ALGORITHM
INCLUDEPATH += $$PWD/external
2023-10-20 23:36:22 +08:00
contains(DEFINES, USE_RABBITMQ) {
INCLUDEPATH += $$PWD/external/qamqp
LIBS += -L$$PWD/external/qamqp/ -lqamqp
unix {
PRE_TARGETDEPS += $$PWD/external/qamqp/libqamqp.a
}
}
2023-10-20 23:36:22 +08:00
contains(DEFINES, USE_ALGORITHM) {
LIBS += -L$$PWD/external/ -lObjectEventDetect
PRE_TARGETDEPS += $$PWD/external/libObjectEventDetect.a
2023-10-20 23:36:22 +08:00
}
contains(DEFINES, USE_ALGORITHM) {
LIBS += -L$$PWD/external/npu/ -lrknn_api
INCLUDEPATH += $$PWD/external/npu
}
win32 {
LIBS += D:\Library\opencv\build\install\x64\mingw\lib\libopencv_*.a
INCLUDEPATH += D:\Library\opencv\build\install\include
}
unix {
LIBS += -L/usr/local/lib -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs -lopencv_videoio -lopencv_core
INCLUDEPATH += /usr/local/include
2023-10-20 23:36:22 +08:00
}