summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-07-23 10:40:24 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-07-24 13:54:00 +0200
commitc692f41ae51d3f2296d06178b98fe73476a51bc5 (patch)
treeec6b71a6afc54ce988c4dc170f7eedd3af86865e /tests/auto/gui/image
parent6a2f34db0b2d049e299d4cc7660264c37fba90e0 (diff)
Mark QIcon test as not supporting high-DPI pixmaps
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ø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui/image')
-rw-r--r--tests/auto/gui/image/qicon/CMakeLists.txt1
-rw-r--r--tests/auto/gui/image/qicon/qicon.pro2
2 files changed, 2 insertions, 1 deletions
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