diff --git a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt index 6ae5029a8a3..ed14a317808 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 similarity index 99% rename from tests/benchmarks/corelib/io/qfile/main.cpp rename to tests/benchmarks/corelib/io/qfile/tst_bench_qfile.cpp index fbfe753c7c0..e7026c70f93 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"