qt5base-lts/examples
Giuseppe D'Angelo c29fac453f Markdown importer: use Unicode decoding
Given we feed UTF-8 data into the importer, it must be able to cope
with Unicode. Build md4c with UTF-8 support, advertise it at
usage site, and change a couple of broken decodings.

Driveby: the textedit example used the wrong codec to decode
a Markdown file. While the Markdown spec doesn't deal with encodings,
using the default one for HTML is certainly wrong. Port the loading
of both markdown and plaintext to UTF-8, as that what _saving_
via QTextDocumentWriter would use by default.

Change-Id: I51c6214cfe45ebfc5a67a7366f7866a5328366ec
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2020-02-03 14:58:00 +01:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Fix Mandelbrot Example documentation with regards to qRegisterMetaType() 2020-01-13 12:50:03 +01:00
dbus Examples: cleanup foreach usage 2019-02-02 12:49:19 +00:00
embedded Change examples and snippets to pass QDate and QTime by value 2020-01-30 13:32:57 +01:00
gui Take device-pixel-ratio into account in openglwindow example 2018-11-20 19:51:12 +00:00
network Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
opengl Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-06 11:41:19 +01:00
qmake Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qpa Examples: cleanup foreach usage 2019-02-02 12:49:19 +00:00
qtconcurrent Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
qtestlib Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
sql Change examples and snippets to pass QDate and QTime by value 2020-01-30 13:32:57 +01:00
vulkan Doc: Specify install path for Vulkan examples 2020-01-30 10:42:57 +00:00
widgets Markdown importer: use Unicode decoding 2020-02-03 14:58:00 +01:00
xml Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
examples.pro Doc: Move touch examples around so they get included in docs 2018-09-14 03:56:22 +00: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.