From 0c50d54da7439fd4c2a56abab9781ceeff0e28b6 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 1 Feb 2018 12:08:57 +0100 Subject: Tests: Fix compile for Qt5.6 Unfortunately fixed on master instead of 4.6. Change-Id: Ie1e91135899353d81857b75d4e461a5a8cd240d4 Reviewed-by: hjk Reviewed-by: David Schulz (cherry picked from commit 962023648c961698a49a2240f6c2c7c73a7e8ea5) --- tests/auto/environment/tst_environment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/environment/tst_environment.cpp b/tests/auto/environment/tst_environment.cpp index 3a835df46d..ed42cbbefa 100644 --- a/tests/auto/environment/tst_environment.cpp +++ b/tests/auto/environment/tst_environment.cpp @@ -280,7 +280,7 @@ void tst_Environment::find() QCOMPARE((end != it), contains); if (contains) - QCOMPARE(it.value(), "bar"); + QCOMPARE(it.value(), QString("bar")); } -- cgit v1.2.3