qt5base-lts/tests/auto/widgets
Tor Arne Vestbø c26c91b208 macOS: Pick up QWizard background from keyboard assistant via NSBundle
As of macOS 10.14 the keyboard assistant background is shipped as part
of the compiled asset catalog of the app, so looking it up via a URL
will fail.

Instead we look it up via NSBundle's dedicated image lookup function,
which handles both cases.

The logic has also been moved to qwizard.cpp, since the additional
plumbing via QPlatformNativeInterface was unnecessary.

The keyboard assistant itself no longer shows the background image
as of macOS 12, so we might consider doing the same, but the design
of the assistant has also changed significantly, so as long as our
QWizard layout looks like the old keyboard assistant we keep the
background as well.

Pick-to: 6.5 6.2
Change-Id: I7d42dd79b285f3518837458864bca6bc353b3b6d
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2023-02-17 18:02:25 +01:00
..
dialogs macOS: Pick up QWizard background from keyboard assistant via NSBundle 2023-02-17 18:02:25 +01:00
effects Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
graphicsview QGraphicsView: fix jumping graphic items when dragging out of view 2022-11-26 16:07:15 +02:00
itemviews QAbstractItemView: don't start editing on Ctrl-Click 2023-02-16 15:28:18 +01:00
kernel Fix connections in QWidgetWindow 2023-02-15 15:12:12 +01:00
styles Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
util Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
widgets Fix QStatusBar::removeWidget to hide the right widget 2023-02-16 12:40:07 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00