diff --git a/tests/benchmarks/corelib/text/qstring/CMakeLists.txt b/tests/benchmarks/corelib/text/qstring/CMakeLists.txt index 4b443cd4aa..c2ce102780 100644 --- a/tests/benchmarks/corelib/text/qstring/CMakeLists.txt +++ b/tests/benchmarks/corelib/text/qstring/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_benchmark(tst_bench_qstring SOURCES - main.cpp + tst_bench_qstring.cpp PUBLIC_LIBRARIES Qt::Test ) diff --git a/tests/benchmarks/corelib/text/qstring/main.cpp b/tests/benchmarks/corelib/text/qstring/tst_bench_qstring.cpp similarity index 99% rename from tests/benchmarks/corelib/text/qstring/main.cpp rename to tests/benchmarks/corelib/text/qstring/tst_bench_qstring.cpp index 8c37747019..054f52c214 100644 --- a/tests/benchmarks/corelib/text/qstring/main.cpp +++ b/tests/benchmarks/corelib/text/qstring/tst_bench_qstring.cpp @@ -189,4 +189,4 @@ void tst_QString::toCaseFolded() QTEST_APPLESS_MAIN(tst_QString) -#include "main.moc" +#include "tst_bench_qstring.moc"