From 86658ee2dc594f2eb7cc71c93c2dd396ae1c7fd2 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Wed, 1 Jun 2022 17:04:37 +0200 Subject: [PATCH] raster rendering does not solve the problems with the experimantel RHI state in Qt5 ( no problems with Qt6 RHI and Qt5 without RHI ) --- src/nodes/QskPaintedNode.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/nodes/QskPaintedNode.cpp b/src/nodes/QskPaintedNode.cpp index c0490fbd..6d09acbb 100644 --- a/src/nodes/QskPaintedNode.cpp +++ b/src/nodes/QskPaintedNode.cpp @@ -93,14 +93,6 @@ namespace if ( window == nullptr ) return false; -#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) - if ( QQuickWindowPrivate::get( window )->rhi ) - { - // does not yet work with the experimental RHI implementation in Qt5 - return false; - } -#endif - const auto renderer = window->rendererInterface(); return renderer->graphicsApi() == QSGRendererInterface::OpenGL; }