summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/reading-selections/window.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2025-08-15 11:14:44 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2025-08-20 19:54:14 +0200
commitae6f389942d60959fcae0f5d9f2bb6eadd8efb06 (patch)
treef23c9483898feb7bc6d2ce6c57ddd0d27ce101f9 /src/widgets/doc/snippets/reading-selections/window.cpp
parentb5ed961273acb07a2a0e5280c116b7230b119158 (diff)
QMacStyle: fall back to draw QProgressBar manually on macOS Tahoe 26
On macOS Tahoe 26, the drawing of a QProgressBar using the mac style is broken. Nothing is drawn if we continue to use [NSView drawRect:], [NSView bitmapImageRepForCachingDisplayInRect:] or [CALayer renderInContext:] (and similar API) for drawing an NSProgressIndicator. This patch will therefore implement a fall back approach where we draw the QProgressBar manually when we detect that the current version of macOS is running with liquid glass support. Pick-to: 6.10 6.9 6.8 6.5 Fixes: QTBUG-138947 Task-number: QTBUG-138942 Change-Id: Idab450ea1598f7a46fece68c7e3d07f21569cfbb Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/reading-selections/window.cpp')
0 files changed, 0 insertions, 0 deletions