[PATCH v4l-utils v1 3/4] qvidcap: fix v4l2_convert_hook (add PRE_TARGETDEPS)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Force early v4l2-convert.h creation by adding the v4l2_convert_hook to
PRE_TARGETDEPS.

Fixes:

  ../qvidcap/paint.cpp:318:10: fatal error: v4l2-convert.h: No such file or directory
  318 | #include "v4l2-convert.h"

Signed-off-by: Peter Seiderer <ps.report@xxxxxxx>
---
 utils/qvidcap/qvidcap.pro | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/qvidcap/qvidcap.pro b/utils/qvidcap/qvidcap.pro
index db948611..cf7d3ca5 100644
--- a/utils/qvidcap/qvidcap.pro
+++ b/utils/qvidcap/qvidcap.pro
@@ -25,6 +25,7 @@ INCLUDEPATH += $$PWD/../v4l2-compliance
 v4l2_convert_hook.depends = $$PWD/v4l2-convert.pl $$PWD/v4l2-convert.glsl
 v4l2_convert_hook.commands = perl $$PWD/v4l2-convert.pl < $$PWD/v4l2-convert.glsl > v4l2-convert.h
 QMAKE_EXTRA_TARGETS += v4l2_convert_hook
+PRE_TARGETDEPS += v4l2_convert_hook
 
 # Input
 HEADERS += capture.h
-- 
2.42.1


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux