[graphics/krita] libs/image/tests: also ifdef the data portions of that test.

Wolthera van Hövell tot Westerflier <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 29907cd0319cad8e162a6e0ce193decaff44077e by Wolthera van Hövell tot Westerflier.
Committed on 17/08/2026 at 11:56.
Pushed by woltherav into branch 'master'.

also ifdef the data portions of that test.

M  +2    -0    libs/image/tests/kis_image_test.cpp

https://invent.kde.org/graphics/krita/-/commit/29907cd0319cad8e162a6e0ce193decaff44077e

diff --git a/libs/image/tests/kis_image_test.cpp b/libs/image/tests/kis_image_test.cpp
index 2d5895c1ad4..0aa1cad6831 100644
--- a/libs/image/tests/kis_image_test.cpp
+++ b/libs/image/tests/kis_image_test.cpp
@@ -1305,6 +1305,7 @@ void KisImageTest::testPaintOverlayMask()
 
 void KisImageTest::testHdrReferenceWhite_data()
 {
+    #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
     QTest::addColumn<const KoColorSpace*>("srcSpace");
     QTest::addColumn<const KoColorSpace*>("dstSpace");
     QTest::addColumn<double>("expectedOriginalHdrReferenceWhite");
@@ -1377,6 +1378,7 @@ void KisImageTest::testHdrReferenceWhite_data()
     QTest::addRow("rec2020pq_203-to-srgb")
         << rec2020pqu16_203 << sRGBu8
         << 203.0 << noHdrReferenceWhite << noHdrReferenceWhite;
+    #endif
 }
 
 void KisImageTest::testHdrReferenceWhite()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.