presenterplugin: Only call setClearBeforeRendering in Qt5
As documented in https://doc.qt.io/qt-6/quick-changes-qt6.html, this should not be needed 1in Qt6 and was consequently removed.
This commit is contained in:
parent
a9292f651f
commit
a5560dafe6
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue