qt5base-lts/examples
Thiago Macieira bfcb8c6dca Examples: change the main network-chat protocol to CBOR
This complements the previous commit, which changed the broadcast
datagram to CBOR. This commit changes the TCP protocol too. The protocol
is an infinite array of commands, each of which is a map from an integer
(the DataType enum) to either a string or null.

The entire state machine for the connection is rewritten, relying on
QCborStreamReader's ability to deal with incomplete data.

Change-Id: Ic38ec929fc3f4bb795dafffd150ac674c32fac87
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-06-02 03:11:30 +00:00
..
aggregate
corelib Example: add a simple CBOR dumper tool 2018-05-28 11:36:54 +00:00
dbus Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
embedded Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
gui Provide presets for QGradient 2018-05-31 15:50:50 +00:00
network Examples: change the main network-chat protocol to CBOR 2018-06-02 03:11:30 +00:00
opengl Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qmake Unify license header usage. 2016-03-29 10:20:03 +00:00
qpa Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
qtconcurrent qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
qtestlib Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
sql Doc: Update image, icon and screenshot for SQL example application 2018-05-22 12:06:22 +00:00
touch qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
vulkan Vulkan Examples: Fix Clang warnings about initialization of VkClearColorValue 2018-04-30 08:35:15 +00:00
widgets glextensions.h: simplify #if-ery to avoid conflict 2018-05-31 15:51:55 +00:00
xml Merge remote-tracking branch 'origin/5.10' into dev 2018-01-20 22:36:19 +01:00
examples.pro examples: fix compile without opengl support 2017-08-29 20:30:45 +00:00
README

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.