Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Qt6: Fix compiling LUT docker on macOS
Freya Lupen2635de9d2a3b
diff --git a/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp b/plugins/dockers/lut/ocio_display_filter_vfx2021.cppindex d96b20d3c7..f7e8630c9d 100644--- a/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp+++ b/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp@@ -363,7 +363,7 @@ bool OcioDisplayFilter::updateShader()#if defined(Q_OS_MAC) && defined(QT_OPENGL_3_2)QOpenGLVersionProfile profile(QOpenGLContext::currentContext()->surface()->format());profile.setVersion(3,2);- QOpenGLFunctions_3_2 *f = reinterpret_cast<QOpenGLFunctions_3_2 *>(QOpenGLVersionFunctionsFactory::get(profile, QOpenGLContext::currentContext()));+ QOpenGLFunctions_3_2_Core *f = reinterpret_cast<QOpenGLFunctions_3_2_Core *>(QOpenGLVersionFunctionsFactory::get(profile, QOpenGLContext::currentContext()));#elseQOpenGLVersionProfile profile(QOpenGLContext::currentContext()->surface()->format());profile.setVersion(3,0);