Debian Codegraph @

utils/qv4l2/qv4l2.pro

raw
1 ######################################################################
2 # qmake project file for qv4l2
3 ######################################################################
4
5 TEMPLATE = app
6 INCLUDEPATH += . ../libv4l2util ../../lib/include ../../include
7 CONFIG += debug
8
9 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10 greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
11 # opengl: to disable opengl suppport on Qt6 comment out the
12 # following line
13 greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets
14
15 # adjust to your local meson build path
16 MESON_BUILD_PATH = $$PWD/build-meson
17
18 # opengl: to disable opengl suppport comment out the following
19 # line and the line '#define HAVE_QTGL 1' from ../../config.h
20 QT += opengl
21
22 QMAKE_CFLAGS += -include $$MESON_BUILD_PATH/config.h
23 QMAKE_CXXFLAGS += -include $$MESON_BUILD_PATH/config.h
24
25 INCLUDEPATH += $$PWD/../..
26 INCLUDEPATH += $$PWD/../common
27 INCLUDEPATH += $$PWD/../v4l2-ctl/
28 INCLUDEPATH += $$PWD/../v4l2-compliance
29
30 # Input
31 HEADERS += alsa_stream.h
32 HEADERS += capture-win-gl.h
33 HEADERS += capture-win.h
34 HEADERS += capture-win-qt.h
35 HEADERS += general-tab.h
36 HEADERS += qv4l2.h
37 HEADERS += raw2sliced.h
38 HEADERS += vbi-tab.h
39 HEADERS += ../common/v4l2-tpg.h
40 HEADERS += ../common/v4l2-tpg-colors.h
41 HEADERS += $$MESON_BUILD_PATH/config.h
42
43 SOURCES += alsa_stream.c
44 SOURCES += capture-win.cpp
45 SOURCES += capture-win-gl.cpp
46 SOURCES += capture-win-qt.cpp
47 SOURCES += ctrl-tab.cpp
48 SOURCES += general-tab.cpp
49 SOURCES += qv4l2.cpp
50 SOURCES += raw2sliced.cpp
51 SOURCES += tpg-tab.cpp
52 SOURCES += vbi-tab.cpp
53 SOURCES += ../v4l2-ctl/v4l2-tpg-core.c
54 SOURCES += ../v4l2-ctl/v4l2-tpg-colors.c
55
56 LIBS += -L$$MESON_BUILD_PATH/lib/libv4l2 -lv4l2
57 LIBS += -L$$MESON_BUILD_PATH/lib/libv4lconvert -lv4lconvert
58 LIBS += -L$$MESON_BUILD_PATH/utils/libv4l2util -lv4l2util
59 LIBS += -L$$MESON_BUILD_PATH/utils/libmedia_dev -lmedia_dev
60 LIBS += -lasound # comment out in case alsa sound support is disabled/not available
61 LIBS += -lrt -ldl -ljpeg
62
63 RESOURCES += qv4l2.qrc