IVA/app/app.pro
2023-10-20 23:36:22 +08:00

53 lines
1.6 KiB
Prolog

######################################################################
# 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_ALGORITHM
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_imgproc -lopencv_videoio -lopencv_imgcodecs -lopencv_highgui -lopencv_core
INCLUDEPATH += /usr/local/include
}
contains(DEFINES, USE_ALGORITHM) {
LIBS += -L$$PWD/external/ -lObjectEventDetect
#DEPENDPATH += $$PWD/external
PRE_TARGETDEPS += $$PWD/libraries/libObjectEventDetect.a
}
INCLUDEPATH += $$PWD/external
contains(DEFINES, USE_ALGORITHM) {
LIBS += -L$$PWD/external/npu/ -lrknn_api
INCLUDEPATH += $$PWD/external/npu
#DEPENDPATH += $$PWD/external/npu
}