From 900cd206c801efdbd7ca09e19de813caf14523ab Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 11 Feb 2022 16:38:37 +0100 Subject: [PATCH] Shootout: Fix compile with Qt6 on Windows Change-Id: I817eb9b02b09db76a2bebbc5f28388be96a4c54f Reviewed-by: hjk Reviewed-by: Christian Kandeler --- tests/manual/shootout/tst_codesize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/manual/shootout/tst_codesize.cpp b/tests/manual/shootout/tst_codesize.cpp index 738d3b032c3..c1323cce2cc 100644 --- a/tests/manual/shootout/tst_codesize.cpp +++ b/tests/manual/shootout/tst_codesize.cpp @@ -254,9 +254,9 @@ void tst_CodeSize::codesize() << "\nExtra CXX Flags: " << c.extraCxxFlags.data(); #ifdef Q_OS_WIN # ifdef Q_CC_MSVC - QString arguments = "release\\" + c.file + ".obj"; + QString arguments = QString("release\\" + c.file + ".obj"); # else - QString arguments = "release\\" + c.file + ".o"; + QString arguments = QString("release\\" + c.file + ".o"); # endif #else QString arguments = QString(c.file + ".o");