diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-10-25 20:35:22 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-10-26 15:03:44 +0000 |
commit | 0597e9e646846c828d3163fd47799ef6b0e030cd (patch) | |
tree | 0805b36c4c3f3fabc8dceca3892eb0d989a3ec70 | |
parent | e811681b9024b42fe6d064f2e2e37392f6093b86 (diff) |
Fix build with Qt 6.2
Change-Id: Id0758d78f0ef251aeca0447ccc612d294c450a5e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 4 | ||||
-rw-r--r-- | tests/auto/blackbox/tst_blackboxandroid.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index 41f307632..debcc6f30 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -8455,8 +8455,8 @@ void TestBlackbox::ico() QCOMPARE(b.at(12), '\0'); QCOMPARE(b.at(26), '\0'); QCOMPARE(b.at(28), '\0'); - QWARN("this version of icoutil does not support setting the hotspot " - "for cursor files with multiple images"); + qWarning() << "this version of icoutil does not support setting the hotspot " + "for cursor files with multiple images"; } else { QCOMPARE(b.at(10), '\x8'); QCOMPARE(b.at(12), '\x9'); diff --git a/tests/auto/blackbox/tst_blackboxandroid.cpp b/tests/auto/blackbox/tst_blackboxandroid.cpp index 684291eb1..bbaac1c21 100644 --- a/tests/auto/blackbox/tst_blackboxandroid.cpp +++ b/tests/auto/blackbox/tst_blackboxandroid.cpp @@ -175,7 +175,7 @@ void TestBlackboxAndroid::android() }; if (none_of(actualFiles, isFileSharedObject) || std::all_of(actualFiles.cbegin(), actualFiles.cend(), isQmlToolingLib)) { - QWARN(msg); + qWarning() << msg; } else { QFAIL(msg); } |