From 2dc46c09026362cc267b1183faf09fb29479ef93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sat, 29 Aug 2020 22:28:34 +0200 Subject: Deprecate and remove all uses of AA_UseHighDpiPixmaps High-DPI pixmaps are always enabled, and cannot be disabled. Change-Id: I01a006b404e5431582b64ef812974c1c022b39ae Reviewed-by: Volker Hilsheimer --- src/corelib/global/qnamespace.qdoc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/corelib/global/qnamespace.qdoc') diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index b8c9854555..b96d8e0656 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -172,13 +172,6 @@ to left button mouse events instead. This attribute is enabled by default. - \value AA_UseHighDpiPixmaps Make QIcon::pixmap() generate high-dpi pixmaps - that can be larger than the requested size. Such pixmaps will have - \l {QPixmap::devicePixelRatio}{devicePixelRatio()} set to a value higher than 1. - After setting this attribute, application code that uses pixmap - sizes in layout geometry calculations should typically divide by - \l {QPixmap::devicePixelRatio}{devicePixelRatio()} to get device-independent layout geometry. - \value AA_ForceRasterWidgets Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. @@ -297,6 +290,7 @@ \omitvalue AA_AttributeCount \omitvalue AA_EnableHighDpiScaling + \omitvalue AA_UseHighDpiPixmaps */ /*! -- cgit v1.2.3