summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-01-24 16:21:45 +0100
committerEike Ziller <eike.ziller@qt.io>2023-01-25 08:05:02 +0000
commite9d44b451b1951dcc37da4c0ab86edadebb35515 (patch)
tree1ec6636d64896c8c7d73773a7dded72e09c393c0
parent813e5fa8cad97eb1af227bf8bdcd60d7cd8bffa1 (diff)
Fix build with QT_NO_CAST_FROM_ASCII
Amends 813e5fa8cad97eb1af227bf8bdcd60d7cd8bffa1 Change-Id: I4b936d5c1a41c20ef30595f80210e85ccab27e2f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--tests/auto/perfdata/tst_perfdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/perfdata/tst_perfdata.cpp b/tests/auto/perfdata/tst_perfdata.cpp
index 68436e0..17f8b31 100644
--- a/tests/auto/perfdata/tst_perfdata.cpp
+++ b/tests/auto/perfdata/tst_perfdata.cpp
@@ -278,7 +278,7 @@ void TestPerfData::testFiles()
{
QFETCH(QString, dataFile);
#ifndef HAVE_ZSTD
- if (dataFile.contains("zstd"))
+ if (dataFile.contains(QStringLiteral("zstd")))
QSKIP("zstd support disabled, skipping test");
#endif