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: link to OpenGLWidgets
Halla Rempt78039470f581
diff --git a/plugins/dockers/smallcolorselector/CMakeLists.txt b/plugins/dockers/smallcolorselector/CMakeLists.txtindex e93411bc4c..5f6a4f4537 100644--- a/plugins/dockers/smallcolorselector/CMakeLists.txt+++ b/plugins/dockers/smallcolorselector/CMakeLists.txt@@ -14,5 +14,11 @@ set(small_color_selector_QRCSqt_add_resources(KRITA_smallCOLORSELECTOR_SOURCES ${small_color_selector_QRCS})kis_add_library(kritasmallcolorselector MODULE ${KRITA_smallCOLORSELECTOR_SOURCES})-target_link_libraries(kritasmallcolorselector kritaui)++if (QT_MAJOR_VERSION STREQUAL "6")+ target_link_libraries(kritasmallcolorselector kritaui Qt6::OpenGLWidgets)+else()+ target_link_libraries(kritasmallcolorselector kritaui)+endif()+install(TARGETS kritasmallcolorselector DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})