qt5base-lts/examples
Michal Klocek 5786ac12f0 Fix hellowindow example
It seems this example never worked as expected.
It has a 'multiple' option which should show extra
windows with rendering taking place in different
thread, however although render is moved to other thread
render() function was never called in that thread.

Fix following things:
 * make rendering in other thread
 * stop requestUpdate if nothing is exposed
 * add timer so animation works at the same speed despite
   of number of windows (renderer B renders two windows)
 * wait for render to finish before triggering requestUdpate
 * remove mutex where not needed

Pick-to: 5.15
Change-Id: I420436bd28d0357534332dd55b088d634d906c14
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2020-05-25 17:37:57 +02:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib High-DPI: Remove usages of Qt::AA_UseHighDpiPixmaps 2020-03-30 08:43:02 +01:00
dbus Regenerate examples 2020-02-04 18:50:39 +00:00
embedded Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
gui Regenerate examples 2020-02-04 18:50:39 +00:00
network Torrent example: fix crash 2020-05-11 10:21:29 +02:00
opengl Fix hellowindow example 2020-05-25 17:37:57 +02:00
qmake Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qpa Merge remote-tracking branch 'origin/5.15' into dev 2020-03-11 15:34:21 +01:00
qtconcurrent Regenerate examples 2020-02-04 18:50:39 +00:00
qtestlib Regenerate examples 2020-02-04 18:50:39 +00:00
sql Merge remote-tracking branch 'origin/5.15' into dev 2020-03-11 15:34:21 +01:00
vulkan QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
widgets Examples/RegularExpressionDialog: remove deprecated options 2020-05-23 10:53:24 +02:00
xml examples: avoid int -> QChar conversions 2020-04-29 10:10:36 +02:00
CMakeLists.txt cmake: add examples/opengl 2019-10-07 07:22:17 +00: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.