aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2014-12-05 21:17:25 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2014-12-10 10:33:39 +0100
commitff438965e0b5bcf93441178b12caac93f2063b38 (patch)
tree4798bfaaab94c9a2094e3738369c0d380762b21f
parentf05f59e56a51a014377e16e4ac516dd920b7bf76 (diff)
qv4l2: update qmake project file
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--utils/qv4l2/qv4l2.pro46
1 files changed, 42 insertions, 4 deletions
diff --git a/utils/qv4l2/qv4l2.pro b/utils/qv4l2/qv4l2.pro
index 7ab39cc3..19a046a1 100644
--- a/utils/qv4l2/qv4l2.pro
+++ b/utils/qv4l2/qv4l2.pro
@@ -1,14 +1,52 @@
######################################################################
-# Automatically generated by qmake (1.07a) Sat Jun 17 12:35:16 2006
+# qmake project file for qv4l2
######################################################################
TEMPLATE = app
INCLUDEPATH += . ../libv4l2util ../../lib/include ../../include
CONFIG += debug
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+
+#
+# qt5: opengl support for disabled (will crash on startup)
+#
+# qt4: to disable opengl suppport comment out the following
+# line and the line '#define HAVE_QTGL 1' from ../../config.h
+lessThan(QT_MAJOR_VERSION, 5): QT += opengl
+
+INCLUDEPATH += /home/seiderer/Work/v4l_utils/v4l-utils
+INCLUDEPATH += /home/seiderer/Work/v4l_utils/v4l-utils/utils/v4l2-ctl/
+INCLUDEPATH += /home/seiderer/Work/v4l_utils/v4l-utils/utils/v4l2-compliance
+
# Input
-HEADERS += qv4l2.h general-tab.h capture-win.h
-SOURCES += qv4l2.cpp general-tab.cpp ctrl-tab.cpp capture-win.cpp
-LIBS += -L../../lib/libv4l2 -lv4l2 -L../../lib/libv4lconvert -lv4lconvert -lrt -L../libv4l2util -lv4l2util -ldl -ljpeg
+HEADERS += alsa_stream.h
+HEADERS += capture-win-gl.h
+HEADERS += capture-win.h
+HEADERS += capture-win-qt.h
+HEADERS += general-tab.h
+HEADERS += qv4l2.h
+HEADERS += raw2sliced.h
+HEADERS += vbi-tab.h
+HEADERS += ../v4l2-ctl/vivid-tpg.h
+HEADERS += ../v4l2-ctl/vivid-tpg-colors.h
+HEADERS += ../../config.h
+
+SOURCES += capture-win.cpp
+SOURCES += capture-win-gl.cpp
+SOURCES += capture-win-qt.cpp
+SOURCES += ctrl-tab.cpp
+SOURCES += general-tab.cpp
+SOURCES += qv4l2.cpp
+SOURCES += raw2sliced.cpp
+SOURCES += tpg-tab.cpp
+SOURCES += vbi-tab.cpp
+SOURCES += ../v4l2-ctl/vivid-tpg.c
+SOURCES += ../v4l2-ctl/vivid-tpg-colors.c
+
+LIBS += -L$$PWD/../../lib/libv4l2 -lv4l2
+LIBS += -L$$PWD/../../lib/libv4lconvert -lv4lconvert
+LIBS += -L$$PWD/../libv4l2util -lv4l2util
+LIBS += -lrt -ldl -ljpeg
RESOURCES += qv4l2.qrc

Privacy Policy