diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-03 21:01:11 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-04 09:22:38 +0000 |
commit | e4a9a7cb760aef2f0f12de805f90376b335a052c (patch) | |
tree | bcdc4b081d139f2db2e1d2ebcf994b5a6ae97a42 /tests/postbuild | |
parent | 4bec48ad97db3a8b1f330a5edf15a3aa7d349cf6 (diff) |
Fix warning about format string not being string literal
Change-Id: I0c12defc9b10f351d584169a57111d733e81bb16
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/postbuild')
-rw-r--r-- | tests/postbuild/symbols/tst_symbols.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/postbuild/symbols/tst_symbols.cpp b/tests/postbuild/symbols/tst_symbols.cpp index 00efc750..7d627f6f 100644 --- a/tests/postbuild/symbols/tst_symbols.cpp +++ b/tests/postbuild/symbols/tst_symbols.cpp @@ -201,9 +201,9 @@ void tst_Symbols::globalObjects() QString line = symbolToLine(symbol, dir.absolutePath() + "/" + lib); if (cap.contains('.')) - qWarning(qPrintable("Static global object(s) found in " + lib + " in file " + cap + " (" + line + ")")); + qWarning() << "Static global object(s) found in" << lib << "in file" << cap << "(" << line << ")"; else - qWarning(qPrintable("Static global object found in " + lib + " near symbol " + cap + " (" + line + ")")); + qWarning() << "Static global object found in" << lib << "near symbol" << cap << "(" << line << ")"; isFailed = true; } |