forked from zcsd/Vision_Inspection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pylon_CV.pro
107 lines (93 loc) · 2.63 KB
/
Pylon_CV.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#-------------------------------------------------
#
# Project created by QtCreator 2018-06-17T21:27:41
#
#-------------------------------------------------
QT += core gui concurrent serialbus network mqtt opcua
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Pylon_CV
TEMPLATE = app
# Python 3.6 native library in ubuntu 18.04.1
INCLUDEPATH += /usr/include/python3.6m
LIBS += -L/usr/local/lib/python3.6 -lpython3.6m
# OpenCV 4.0.0
INCLUDEPATH += /usr/local/include/opencv4
LIBS += -L/usr/local/lib -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_videoio -lopencv_highgui
# Pylon 5.1.0 SDK
INCLUDEPATH += /opt/pylon5/include
QMAKE_LFLAGS += -Wl,--enable-new-dtags -Wl,-rpath,/opt/pylon5/lib64
LIBS += -L/opt/pylon5/lib64
LIBS += -Wl,-E
LIBS += -lGCBase_gcc_v3_1_Basler_pylon_v5_1
LIBS += -lGenApi_gcc_v3_1_Basler_pylon_v5_1
LIBS += -lgxapi
LIBS += -lpylonbase
LIBS += -lpylonutility
LIBS += -luxapi
LIBS += -lpylon_TL_usb
LIBS += -lMathParser_gcc_v3_1_Basler_pylon_v5_1
LIBS += -lNodeMapData_gcc_v3_1_Basler_pylon_v5_1
LIBS += -llog4cpp_gcc_v3_1_Basler_pylon_v5_1
LIBS += -lLog_gcc_v3_1_Basler_pylon_v5_1
LIBS += -lXmlParser_gcc_v3_1_Basler_pylon_v5_1
# libcurl, to get token from http
LIBS += -lcurl
# RFID reader, using relative path
INCLUDEPATH += ./lib/rfid_s8
LIBS += -L/lib -ls8
# boost
#INCLUDEPATH += /usr/include/boost
#LIBS += -L/usr/include/boost -lboost_python -lboost_system
SOURCES += \
main.cpp \
mainwindow.cpp \
framegrabber.cpp \
labeldisplayer.cpp \
settingdialog.cpp \
fourierdescriptor.cpp \
fdtester.cpp \
pyclassification.cpp \
py_cv_wrapper/pycvconverter.cpp \
calibratorform.cpp \
measuretool.cpp \
triggerform.cpp \
communication/modbusclient.cpp \
test/modbustest.cpp \
communication/mqttclient.cpp \
test/mqtttest.cpp \
communication/rfidtool.cpp \
test/rfidtest.cpp \
test/opcuatest.cpp \
pocworker.cpp
HEADERS += \
mainwindow.h \
framegrabber.h \
labeldisplayer.h \
settingdialog.h \
fourierdescriptor.h \
fdtester.h \
pyclassification.h \
py_cv_wrapper/pycvconverter.h \
calibratorform.h \
measuretool.h \
triggerform.h \
communication/modbusclient.h \
test/modbustest.h \
communication/mqttclient.h \
test/mqtttest.h \
communication/rfidtool.h \
test/rfidtest.h \
test/opcuatest.h \
pocworker.h
FORMS += \
mainwindow.ui \
settingdialog.ui \
calibratorform.ui \
triggerform.ui \
test/modbustest.ui \
test/mqtttest.ui \
test/rfidtest.ui \
test/opcuatest.ui
DISTFILES += \
python/classification.py
RESOURCES +=