qt6-bb10/src/gui
Tor Arne Vestbø 23ecaf897f Don't assume that QtFontFamily::ensurePopulated() will populate
The WASM platform populates a family asynchronously, so we can't
assume that a family will be populated straight after calling
ensurePopulated().

By adding a bool return to the function we can teach all the call
sites to behave as if the font family does not exist yet if the
font was not populated.

The WASM platform will then invalidate the font database when the
populated font's data comes in asynchronously, and then be ready
for another call to ensurePopulated, which this time will succeed
to populate the family.

Change-Id: I4e0e6211c10e5c1123beebd77aca28ac82ba7186
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Aleksandr Reviakin <aleksandr.reviakin@qt.io>
2022-08-19 14:04:28 +02:00
..
accessible a11y atspi: Drop commented out "say hello to d-bus" code 2022-08-19 04:43:01 +02:00
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
doc Doc: Add qthelp dependency to gui and widgets 2022-06-22 04:49:38 +02:00
image Add -Wshorten-64-to-32 to headersclean 2022-07-21 17:14:08 +02:00
itemmodels QFileSystemModelPrivate: de-inline ctor and dtor 2022-05-25 22:42:26 +00:00
kernel doc: QEventPoint::timeHeld is reported in seconds, not milliseconds 2022-08-16 16:00:15 +02:00
math3d Allow specify distance to plane for QTransform 2022-08-18 10:40:42 +08:00
opengl qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
painting Allow specify distance to plane for QTransform 2022-08-18 10:40:42 +08:00
platform Use the local file APIs to save/load files on WASM 2022-08-12 20:32:29 +02:00
rhi rhi: Enhance internal docs about buffer and image load/store 2022-08-16 18:08:38 +02:00
text Don't assume that QtFontFamily::ensurePopulated() will populate 2022-08-19 14:04:28 +02:00
util Improve QDoubleValidator's docs 2022-08-08 19:38:40 +02:00
vulkan rhi: Fix instance API version when only 1.1 is supported 2022-08-16 16:00:15 +02:00
CMakeLists.txt rhi: d3d: Switch to DirectComposition for semi-transparent windows 2022-08-03 19:06:19 +02:00
QtGui.dynlist
configure.cmake Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qt_cmdline.cmake Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qtgui.tracepoints Trace QImage::Format as int in QImageData::create() 2022-06-14 14:11:35 +02:00