qt5base-lts/examples
Robin Burchell c82d40749d Fix multicast join/leave when binding to QHostAddress::Any.
On OS X and Windows, this was not working, because the socket was being bound
in v6 mode (due to ::Any being for dual mode), but the address passed was a v4
address, meaning it took the wrong codepath. Linux, strangely, apparently works
anyway.

This is fixable in OS X (by using the v6 join path when bound in v6/dual mode),
but the same fix doesn't work on Windows, failing with WSAEADDRNOTAVAIL.

Don't allow this behaviour, and provide a sane error message telling the user
what to do instead.

Done-with: Shane Kearns
Task-number: QTBUG-25047
Change-Id: Iaf5bbee82e13ac92e11b60c558f5af9ce26f474b
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-02 12:49:38 +02:00
..
animation examples: use QVector<QPointF> instead of QList<QPointF> 2012-03-08 05:31:40 +01:00
dbus clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
desktop Fix icon suffixes in systray example. 2012-03-13 10:11:22 +01:00
dialogs Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
draganddrop Use QRect::united(), QRect::unite() is deprecated. 2012-03-14 11:37:18 +01:00
effects Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
embedded clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
gestures Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
graphicsview examples: use QVector<QPointF> instead of QList<QPointF> 2012-03-08 05:31:40 +01:00
ipc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
itemviews Use QRect::united(), QRect::unite() is deprecated. 2012-03-14 11:37:18 +01:00
ja_JP/linguist/hellotr Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
layouts Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linguist Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
mainwindows Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
network Fix multicast join/leave when binding to QHostAddress::Any. 2012-04-02 12:49:38 +02:00
opengl Cleaned up examples/opengl/cube/cube.pro, removed message() 2012-02-29 03:09:38 +01:00
painting examples: compile w/o opengl 2012-02-24 22:39:40 +01:00
qmake Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpa clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qtconcurrent clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qtestlib Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
richtext Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
scroller Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
sql add strategy support to sqlbrowser example 2012-03-06 06:34:33 +01:00
statemachine Disable some tests and examples when --no-widgets is specified 2012-03-19 20:16:04 +01:00
threads clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
tools examples: compile w/QT_NO_CAST_FROM_BYTEARRAY, at least on Unix 2012-03-08 09:58:26 +01:00
touch examples: compile w/QT_NO_CAST_FROM_BYTEARRAY, at least on Unix 2012-03-08 09:58:26 +01:00
tutorials Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
webkit/webkit-guide Change bugreports.qt.nokia.com -> bugreports.qt-project.org 2012-03-02 23:16:25 +01:00
widgets examples: compile w/QT_NO_CAST_FROM_BYTEARRAY, at least on Unix 2012-03-08 09:58:26 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
examples.pro Disable some tests and examples when --no-widgets is specified 2012-03-19 20:16:04 +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.