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++
Add Qt6::OpenGLWidgets
Halla Remptc6510922ef6e
diff --git a/CMakeLists.txt b/CMakeLists.txtindex fb0fe2c51d..b4f71540d7 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -456,6 +456,7 @@ if (QT_MAJOR_VERSION STREQUAL "6")REQUIRED COMPONENTSCore5CompatOpenGL+ OpenGLWidgets)endif()diff --git a/libs/flake/CMakeLists.txt b/libs/flake/CMakeLists.txtindex 4b291f80b7..eb0bdb85ed 100644--- a/libs/flake/CMakeLists.txt+++ b/libs/flake/CMakeLists.txt@@ -285,6 +285,13 @@ target_link_libraries(kritaflakelibunibreak::libunibreak)+if (QT_MAJOR_VERSION STREQUAL "6")+target_link_libraries(kritaflake+ PUBLIC+ Qt${QT_MAJOR_VERSION}::OpenGLWidgets+)+endif()+set_target_properties(kritaflake PROPERTIESVERSION ${GENERIC_KRITA_LIB_VERSION} SOVERSION ${GENERIC_KRITA_LIB_SOVERSION})