From fc8280130c00cd07356fd67cb1b5d5e3c37a97b9 Mon Sep 17 00:00:00 2001 From: Charles PIGNEROL <> Date: Fri, 31 Oct 2025 15:16:38 +0100 Subject: [PATCH] Version 8.8.4. QtVtkGraphicWidget::GetRenderWindow ( ) fix when VTK >= 9. --- cmake/version.cmake | 2 +- src/QtVtk/QtVtkGraphicWidget.cpp | 2 +- versions.txt | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cmake/version.cmake b/cmake/version.cmake index 403a23a..09eb0fd 100644 --- a/cmake/version.cmake +++ b/cmake/version.cmake @@ -4,7 +4,7 @@ set (QT_VTK_MAJOR_VERSION "8") set (QT_VTK_MINOR_VERSION "8") -set (QT_VTK_RELEASE_VERSION "3") +set (QT_VTK_RELEASE_VERSION "4") set (QT_VTK_VERSION ${QT_VTK_MAJOR_VERSION}.${QT_VTK_MINOR_VERSION}.${QT_VTK_RELEASE_VERSION}) diff --git a/src/QtVtk/QtVtkGraphicWidget.cpp b/src/QtVtk/QtVtkGraphicWidget.cpp index 452cbe6..67eaa1b 100644 --- a/src/QtVtk/QtVtkGraphicWidget.cpp +++ b/src/QtVtk/QtVtkGraphicWidget.cpp @@ -126,7 +126,7 @@ void QtVtkGraphicWidget::SetRenderWindow (vtkRenderWindow* window) // v 8.1.1 vtkRenderWindow* QtVtkGraphicWidget::GetRenderWindow ( ) // v 8.1.1 { - QVTKOpenGLNativeWidget::renderWindow ( ); + return QVTKOpenGLNativeWidget::renderWindow ( ); } // QtVtkGraphicWidget::GetRenderWindow #endif diff --git a/versions.txt b/versions.txt index e47ba99..5c804ee 100644 --- a/versions.txt +++ b/versions.txt @@ -1,5 +1,11 @@ A FAIRE : tester le vtkIntersectionPolyDataFilter de VTK 7, voir si de base il propose les services attendus (Inner, ...). +Version 8.8.4 : 31/10/25 +=============== + +Correctif QtVtkGraphicWidget::GetRenderWindow ( ) en VTK >= 9. + + Version 8.8.3 : 24/10/25 ===============