1######################################################################
2# qmake project file for qv4l2
3######################################################################
4
5TEMPLATE = app
6INCLUDEPATH += . ../libv4l2util ../../lib/include ../../include
7CONFIG += debug
8
9greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10
11# opengl: to disable opengl suppport comment out the following
12# line and the line '#define HAVE_QTGL 1' from ../../config.h
13QT += opengl
14
15INCLUDEPATH += $$PWD/../..
16INCLUDEPATH += $$PWD/../common
17INCLUDEPATH += $$PWD/../v4l2-ctl/
18INCLUDEPATH += $$PWD/../v4l2-compliance
19
20# Input
21HEADERS += alsa_stream.h
22HEADERS += capture-win-gl.h
23HEADERS += capture-win.h
24HEADERS += capture-win-qt.h
25HEADERS += general-tab.h
26HEADERS += qv4l2.h
27HEADERS += raw2sliced.h
28HEADERS += vbi-tab.h
29HEADERS += ../common/v4l2-tpg.h
30HEADERS += ../common/v4l2-tpg-colors.h
31HEADERS += ../../config.h
32
33SOURCES += capture-win.cpp
34SOURCES += capture-win-gl.cpp
35SOURCES += capture-win-qt.cpp
36SOURCES += ctrl-tab.cpp
37SOURCES += general-tab.cpp
38SOURCES += qv4l2.cpp
39SOURCES += raw2sliced.cpp
40SOURCES += tpg-tab.cpp
41SOURCES += vbi-tab.cpp
42SOURCES += ../v4l2-ctl/v4l2-tpg-core.c
43SOURCES += ../v4l2-ctl/v4l2-tpg-colors.c
44
45LIBS += -L$$PWD/../../lib/libv4l2/.libs -lv4l2
46LIBS += -L$$PWD/../../lib/libv4lconvert/.libs -lv4lconvert
47LIBS += -L$$PWD/../libv4l2util/.libs -lv4l2util
48LIBS += -lrt -ldl -ljpeg
49
50RESOURCES += qv4l2.qrc
51