marlam / bino

3D video player with support for 180°/360° video and Virtual Reality
https://bino3d.org
GNU General Public License v3.0
45 stars 14 forks source link

Missing `#include QGuiApplication` in src/commandinterpreter.hpp #30

Closed marillat closed 5 months ago

marillat commented 5 months ago

2.2 fail to build under Debian unstable amd64 QT6 6.6.2


/build/bino-dmo-2.2/src/commandinterpreter.cpp:235:38: error: ‘QGuiApplication’ has not been declared
  235 |                 screenInputDevices = QGuiApplication::screens();
      |                                      ^~~~~~~~~~~~~~~```

This simple patch fix this issue

```--- a/src/commandinterpreter.hpp
+++ b/src/commandinterpreter.hpp
@@ -23,6 +23,7 @@
 #include <QFile>
 #include <QList>
 #include <QTimer>
+#include <QGuiApplication>```
marlam commented 5 months ago

Thank you! I added the #include to the .cpp because it is not needed in the .hpp, and also added an #include for QMediaCapture.

marillat commented 5 months ago

Thanks