00f2d1a09b
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> |
||
---|---|---|
.. | ||
fallback_icons | ||
icons | ||
second_icons/testtheme/32x32/actions | ||
styles/commonstyle/images | ||
.gitignore | ||
CMakeLists.txt | ||
image.png | ||
qicon.pro | ||
rect.png | ||
tst_qicon.cpp | ||
tst_qicon.qrc |