76 lines
1.8 KiB
Prolog
76 lines
1.8 KiB
Prolog
QT += core gui network
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++17
|
|
CONFIG += console
|
|
|
|
DEFINES += WIN32_LEAN_AND_MEAN
|
|
DEFINES += _WINSOCKAPI_
|
|
|
|
|
|
# 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 += \
|
|
countdown_dialog.cpp \
|
|
libmodbus/modbus-data.c \
|
|
libmodbus/modbus-rtu.c \
|
|
libmodbus/modbus-tcp.c \
|
|
libmodbus/modbus.c \
|
|
camera.cpp \
|
|
color_algorithms.cpp \
|
|
detection_worker.cpp \
|
|
globals.cpp \
|
|
img_utils.cpp \
|
|
lower_machine.cpp \
|
|
main.cpp \
|
|
onnxrunner.cpp \
|
|
plc_connector.cpp \
|
|
storage_worker.cpp \
|
|
widget.cpp
|
|
|
|
HEADERS += \
|
|
countdown_dialog.h \
|
|
libmodbus/modbus-version.h \
|
|
libmodbus/modbus.h \
|
|
libmodbus/modbus-private.h \
|
|
libmodbus/modbus-tcp.h \
|
|
libmodbus/modbus-tcp-private.h \
|
|
libmodbus/modbus-rtu.h \
|
|
libmodbus/modbus-rtu-private.h \
|
|
camera.h \
|
|
color_algorithms.h \
|
|
detection_worker.h \
|
|
globals.h \
|
|
img_utils.h \
|
|
lower_machine.h \
|
|
onnxrunner.h \
|
|
plc_connector.h \
|
|
storage_worker.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 += -Ldll -lws2_32
|
|
|
|
LIBS += \
|
|
# $${PWD}/opencv410-vs22/x64/vc17/lib/*.lib
|
|
$${PWD}/opencv/build/x64/vc16/lib/*.lib
|
|
|
|
INCLUDEPATH += \
|
|
# $${PWD}/opencv410-vs22/include
|
|
$${PWD}/opencv/build/include
|