61 lines
1.2 KiB
Prolog
61 lines
1.2 KiB
Prolog
QT += core gui serialport
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++17
|
|
|
|
# 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 \
|
|
imageview.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
posdevice.cpp \
|
|
rotationstage.cpp
|
|
|
|
HEADERS += \
|
|
LTDMC.h \
|
|
calPoint.h \
|
|
camera.h \
|
|
LTDMC.h \
|
|
imageview.h \
|
|
mainwindow.h \
|
|
posdevice.h \
|
|
rotationstage.h
|
|
|
|
FORMS += \
|
|
mainwindow.ui
|
|
|
|
|
|
INCLUDEPATH+=\
|
|
"C:\opencv\build\include"\
|
|
"C:\Program Files\Basler\pylon 6\Development\include"\
|
|
|
|
|
|
LIBS+= -L"C:\opencv\build\x64\vc16\lib"
|
|
LIBS+= -L"C:\Program Files\Basler\pylon 6\Development\lib\x64"
|
|
LIBS+= -L$$PWD
|
|
|
|
|
|
|
|
CONFIG(debug,debug|release):LIBS+= \
|
|
-lopencv_world4120d \
|
|
-lPylonC \
|
|
-lLTDMC \
|
|
|
|
|
|
|
|
CONFIG(release,debug|release):LIBS+= \
|
|
-lopencv_world4120 \
|
|
-lPylonC \
|
|
-lLTDMC \
|
|
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|