summaryrefslogtreecommitdiffstats
path: root/tests/auto/tiff/tst_qtiff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tiff/tst_qtiff.cpp')
-rw-r--r--tests/auto/tiff/tst_qtiff.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/tiff/tst_qtiff.cpp b/tests/auto/tiff/tst_qtiff.cpp
index 70837a5..a77a735 100644
--- a/tests/auto/tiff/tst_qtiff.cpp
+++ b/tests/auto/tiff/tst_qtiff.cpp
@@ -89,6 +89,9 @@ private:
void tst_qtiff::initTestCase()
{
+ if (!QImageReader::supportedImageFormats().contains("tiff"))
+ QSKIP("The image format handler is not installed.");
+
prefix = ":/tiff/";
}