diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-07-29 23:35:47 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-08-05 11:23:07 +0200 |
commit | 00f2d1a09bf9bb2d6fb9be4bdd12fa8229a11def (patch) | |
tree | e8561badbaef6e1cd9edb3360d61d0cfde79a1b6 /tests/auto/gui/image/qicon/tst_qicon.qrc | |
parent | b6de6a96990577f8041ba1520bd0f2766be6027c (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/tst_qicon.qrc')
-rw-r--r-- | tests/auto/gui/image/qicon/tst_qicon.qrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/image/qicon/tst_qicon.qrc b/tests/auto/gui/image/qicon/tst_qicon.qrc index 4b347ec88c..23a6801e38 100644 --- a/tests/auto/gui/image/qicon/tst_qicon.qrc +++ b/tests/auto/gui/image/qicon/tst_qicon.qrc @@ -21,9 +21,11 @@ <file>./icons/themeparent/scalable/actions/appointment-new.svg</file> <file>./styles/commonstyle/images/standardbutton-open-16.png</file> <file>./styles/commonstyle/images/standardbutton-open-32.png</file> +<file>./styles/commonstyle/images/standardbutton-open-64.png</file> <file>./styles/commonstyle/images/standardbutton-open-128.png</file> <file>./styles/commonstyle/images/standardbutton-save-16.png</file> <file>./styles/commonstyle/images/standardbutton-save-32.png</file> +<file>./styles/commonstyle/images/standardbutton-save-64.png</file> <file>./styles/commonstyle/images/standardbutton-save-128.png</file> </qresource> </RCC> |