Skip to content

[win] Fix HDR support with Qt6 on Windows

Dmitry Kazakov requested to merge dkazakov/krita:kazakov/qt6-hdr-support into master

The patch refacors all the hand-made "ifdef qt6" for the surface color space value into a single class named KisSurfaceColorSpaceWrapper. The class automatically switches the color space type depending on the version of Qt, so no manual checks are needed anywhere.

The patch also fixes a few misprints in these ifdefs that prevented HDR from initializing.

Merge request reports

Loading