37 lines
969 B
Prolog
37 lines
969 B
Prolog
QT += widgets
|
|
requires(qtConfig(filedialog))
|
|
qtHaveModule(printsupport): QT += gui printsupport
|
|
|
|
HEADERS = \
|
|
grabber.h \
|
|
imagebuffer.h \
|
|
myimage.h \
|
|
pylonrecorder.h \
|
|
pylonwrapper.h \
|
|
writer.h
|
|
SOURCES = \
|
|
grabber.cpp \
|
|
imagebuffer.cpp \
|
|
myimage.cpp \
|
|
pylonrecorder.cpp \
|
|
pylonwrapper.cpp \
|
|
main.cpp \
|
|
writer.cpp
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/imageviewer
|
|
INSTALLS += target
|
|
|
|
unix:!macx: LIBS += -L$$/opt/pylon5/lib64/ -Wl,-E -lpylonbase -lpylonutility -lGenApi_gcc_v3_1_Basler_pylon -lGCBase_gcc_v3_1_Basler_pylon
|
|
|
|
# pylon includes
|
|
INCLUDEPATH += $$/opt/pylon5/include
|
|
DEPENDPATH += $$/opt/pylon5/include
|
|
|
|
# nix includes
|
|
INCLUDEPATH += /usr/include/nix
|
|
LIBS += -L"/usr/lib/" -lnix
|
|
|
|
RESOURCES += \
|
|
resources.qrc
|