cotton_double/cotton_double2.pro

56 lines
1.2 KiB
Prolog

QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
CONFIG += console
# 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
SOURCES += \
camera.cpp \
color_range.cpp \
detectionworker.cpp \
globals.cpp \
img_utils.cpp \
main.cpp \
onnxrunner.cpp \
storageworker.cpp \
widget.cpp
HEADERS += \
camera.h \
color_range.h \
detectionworker.h \
globals.h \
img_utils.h \
onnxrunner.h \
storageworker.h \
widget.h
FORMS += \
widget.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
INCLUDEPATH += $${PWD}/Include
DEPENDPATH += $${PWD}/Include
LIBS += -L$${PWD}/LIB -lmil
LIBS += -L$${PWD}/LIB -lMilim
LIBS += -L$${PWD}/LIB -lmilblob
LIBS += \
# $${PWD}/opencv410-vs22/x64/vc17/lib/*.lib
$${PWD}/opencv/build/x64/vc16/lib/*.lib
INCLUDEPATH += \
# $${PWD}/opencv410-vs22/include
$${PWD}/opencv/build/include