diff --git a/plugins/presenter/presenterplugin.cpp b/plugins/presenter/presenterplugin.cpp index a336207a9..53b209a60 100644 --- a/plugins/presenter/presenterplugin.cpp +++ b/plugins/presenter/presenterplugin.cpp @@ -34,7 +34,9 @@ public: windowFlags |= Qt::WindowTransparentForInput; #endif setFlags(windowFlags); +#if QT_VERSION_MAJOR < 6 setClearBeforeRendering(true); +#endif setColor(QColor(Qt::transparent)); setResizeMode(QQuickView::SizeViewToRootObject);