summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/benchmarks/corelib/io/qfile/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp (renamed from tests/benchmarks/corelib/io/qfile/main.cpp)2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt
index 6ae5029a8a..ed14a31780 100644
--- a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt
@@ -6,7 +6,7 @@
qt_internal_add_benchmark(tst_bench_qfile
SOURCES
- main.cpp
+ tst_bench_qfile.cpp
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Test
diff --git a/tests/benchmarks/corelib/io/qfile/main.cpp b/tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp
index fbfe753c7c..e7026c70f9 100644
--- a/tests/benchmarks/corelib/io/qfile/main.cpp
+++ b/tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp
@@ -615,4 +615,4 @@ void tst_qfile::readSmallFiles()
QTEST_MAIN(tst_qfile)
-#include "main.moc"
+#include "tst_bench_qfile.moc"