diff mbox series

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

Message ID 20230415201056.31080-7-ps.report@gmx.net
State New
Headers show
Series [v4l-utils,v1,01/11] qv4l2: remove leagcy alsa_stream.h include (ENABLE_ALSA protected) | expand

Commit Message

Peter Seiderer April 15, 2023, 8:10 p.m. UTC
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@gmx.net>
---
 utils/qv4l2/qv4l2.cpp | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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>