qt5base-lts/examples/widgets
Eirik Aavitsland 4a5abfcea4 wiggly example: add support for emojis etc. (utf16 surrogate pairs)
The venerable wiggly example was created before unicode support was
added to Qt. Hence, when extracting the individual characters from the
string for painting, the code was not prepared to handle that some
characters, like emojis, are composed of two QChar elements.

Fixes: QTBUG-28853
Change-Id: I9804415f92775e2b78fa9fcaf7a2d112153cdce0
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2022-12-12 12:33:20 +01:00
..
animation Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
desktop Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
dialogs QErrorMessage: Improve standard dialogs example 2022-11-30 14:48:51 +01:00
doc wiggly example: add support for emojis etc. (utf16 surrogate pairs) 2022-12-12 12:33:20 +01:00
draganddrop Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
effects Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
gallery Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
gestures Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
graphicsview Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
itemviews Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
layouts Remove showMaximized() workaround for Android in examples 2022-12-02 15:53:37 +01:00
mainwindows Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
painting CMake: Clean up usage of the examples/widgets/painting/shared lib 2022-12-05 15:55:53 +01:00
qnx/foreignwindows Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
richtext Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
scroller Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
tools Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
touch Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
tutorials Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
widgets wiggly example: add support for emojis etc. (utf16 surrogate pairs) 2022-12-12 12:33:20 +01:00
windowcontainer Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
CMakeLists.txt Examples: Use Qt6:: to qualify Qt CMake packages 2022-11-17 19:59:11 +01:00
widgets.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00