[PATCH v4l-utils v1 07/11] qv4l2: fix Qt6 compile (missing QActionGroup header)

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

 



Fixes:

  ../qv4l2/qv4l2.cpp:246:36: error: invalid use of incomplete type ‘class QActionGroup’
    246 |         grp = new QActionGroup(menu);
        |                                    ^

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

diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp
index e24bef13..e49a4599 100644
--- a/utils/qv4l2/qv4l2.cpp
+++ b/utils/qv4l2/qv4l2.cpp
@@ -39,6 +39,7 @@
 #include <QThread>
 #include <QCloseEvent>
 #include <QInputDialog>
+#include <QActionGroup>
 
 #include <assert.h>
 #include <sys/mman.h>
-- 
2.40.0





[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