summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image/qicon/qicon.pro
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-07-29 23:35:47 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-08-05 11:23:07 +0200
commit00f2d1a09bf9bb2d6fb9be4bdd12fa8229a11def (patch)
treee8561badbaef6e1cd9edb3360d61d0cfde79a1b6 /tests/auto/gui/image/qicon/qicon.pro
parentb6de6a96990577f8041ba1520bd0f2766be6027c (diff)
Establish baseline for QIcon test on dpr > 1
After enabling Qt::AA_UseHighDpiPixmaps, QIcon::pixmap() now returns pixmaps larger than the requested size on devicePixelRatio > 1 screens. Adapt tests to account for this changed behavior. Skip tests where it’s unclear what the the expected behavior is, or where the test logic does not apply to dpr > 1. This gives a clearer indication of where we are (39 passed, 0 failed, 9 skipped), and enables using the qicon test to catch regressions also when running at dpr > 1. Remove the "lowdpi" testcase flags from the qmake and cmake project files. Change-Id: Ia7ce722ae356fc496a91b54e9f5d590d13b9df62 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui/image/qicon/qicon.pro')
-rw-r--r--tests/auto/gui/image/qicon/qicon.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/image/qicon/qicon.pro b/tests/auto/gui/image/qicon/qicon.pro
index 3123f236d5..c96f0555ad 100644
--- a/tests/auto/gui/image/qicon/qicon.pro
+++ b/tests/auto/gui/image/qicon/qicon.pro
@@ -1,4 +1,4 @@
-CONFIG += testcase testcase_lowdpi
+CONFIG += testcase
TARGET = tst_qicon
QT += testlib