mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
32dfa102b3
This fixes a build error if Qt was build without accessibility support: ../../../../../gstreamer/subprojects/gst-plugins-good/ext/qt/qtglrenderer.cc: In member function 'bool GstQuickRenderer::init(GstGLContext*, GError**)': ../../../../../gstreamer/subprojects/gst-plugins-good/ext/qt/qtglrenderer.cc:341:13: error: 'QCoreApplication' was not declared in this scope; did you mean 'QApplication'? ../../../../../gstreamer/subprojects/gst-plugins-good/ext/qt/qtglrenderer.cc:341:31: error: 'app' was not declared in this scope ../../../../../gstreamer/subprojects/gst-plugins-good/ext/qt/qtglrenderer.cc:341:37: error: 'QCoreApplication' is not a class, namespace, or enumeration [...] ../../../../../gstreamer/subprojects/gst-plugins-good/ext/qt/qtglrenderer.cc:458:5: error: 'QEventLoop' was not declared in this scope; did you mean 'QEvent'? ../../../../../gstreamer/subprojects/gst-plugins-good/ext/qt/qtglrenderer.cc:459:9: error: 'loop' was not declared in this scope If accessibility is enabled, the includes for QCoreApplication and QEventLoop are indirectly pulled via QWidget. Add the required headers as documented in [1] and [2]. [1] https://doc.qt.io/qt-5/qcoreapplication.html [2] https://doc.qt.io/qt-5/qeventloop.html Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4815> |
||
---|---|---|
.. | ||
gstplugin.cc | ||
gstqml6glmixer.cc | ||
gstqml6glmixer.h | ||
gstqml6gloverlay.cc | ||
gstqml6gloverlay.h | ||
gstqml6glsink.cc | ||
gstqml6glsink.h | ||
gstqml6glsrc.cc | ||
gstqml6glsrc.h | ||
gstqsg6glnode.cc | ||
gstqsg6glnode.h | ||
gstqt6element.cc | ||
gstqt6elements.h | ||
gstqt6gl.h | ||
gstqt6glutility.cc | ||
gstqt6glutility.h | ||
meson.build | ||
qt6glitem.cc | ||
qt6glitem.h | ||
qt6glrenderer.cc | ||
qt6glrenderer.h | ||
qt6glwindow.cc | ||
qt6glwindow.h |