From c692f41ae51d3f2296d06178b98fe73476a51bc5 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 23 Jul 2020 10:40:24 +0200 Subject: [PATCH] Mark QIcon test as not supporting high-DPI pixmaps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As of 951d49075066cf8f66906c803c32cc2c52fd8e18, high-DPI support for pixmaps is enabled by default, which makes this test fail when running on a local system with a high-DPI display. Change-Id: I3fe4674d19a57bf82aa32b01d470c714092f7e62 Reviewed-by: Tor Arne Vestbø --- tests/auto/gui/image/qicon/CMakeLists.txt | 1 + tests/auto/gui/image/qicon/qicon.pro | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/gui/image/qicon/CMakeLists.txt b/tests/auto/gui/image/qicon/CMakeLists.txt index 5f629fb3ed..b44d31b3a1 100644 --- a/tests/auto/gui/image/qicon/CMakeLists.txt +++ b/tests/auto/gui/image/qicon/CMakeLists.txt @@ -1,5 +1,6 @@ # Generated from qicon.pro. +add_definitions(-DTESTCASE_LOWDPI) # special case ##################################################################### ## tst_qicon Test: ##################################################################### diff --git a/tests/auto/gui/image/qicon/qicon.pro b/tests/auto/gui/image/qicon/qicon.pro index c96f0555ad..3123f236d5 100644 --- a/tests/auto/gui/image/qicon/qicon.pro +++ b/tests/auto/gui/image/qicon/qicon.pro @@ -1,4 +1,4 @@ -CONFIG += testcase +CONFIG += testcase testcase_lowdpi TARGET = tst_qicon QT += testlib