qt5base-lts/examples
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
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Remove useless Q_OBJECT in Semaphores example 2022-12-07 14:03:03 +01:00
dbus Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
embedded Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
gui Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
network Remove showMaximized() workaround for Android in examples 2022-12-02 15:53:37 +01:00
opengl Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
qmake Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qpa Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
qtconcurrent Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
qtestlib Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sql Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
vulkan 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
xml 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
examples.pro Turn off the dbus examples for qmake-generated VS projects 2021-02-09 15:45:06 +01:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.