Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: Ie4309963c8e17d4e7dad602f61a660246d5e23cb
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Also, remove optional dependency to websockets, which is not
part of Qt 6.0 and fix compile error against unsigned comparison.
Switch default test configuration to not launch TLS brokers.
Latest COIN updates causes paho to fail in the SSL setup.
Task-number: QTBUG-88189
Change-Id: I9d31f9e54801d269122878ab4cf7541512fdbe98
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
qWarning could potentially quit an application while it is easily
possible to recover from an error state. Hence avoid usage of qWarning
inside the module.
Task-number: QTBUG-69544
Change-Id: I7340f38d80e6716450fbcd0918226e9435d37daa
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
For MQTT5 testing we need to load a test configuration to specify
certain limits (i.e. packet size) and to launch multiple brokers (V3.1.1
and V5 concurrently).
Change-Id: I4532a17cf5d8fd299b77ea6cc85f98e5c8cfe32b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
PYTHON3_PATH only returns the directory containing python.
If the environment variable is not set, assume python3 to be in the
path.
Circumvent potential issues when launching the broker, but broker not
being ready to handle connections.
Change-Id: I594e21286bae8b4646fa079c9294d34102c57e66
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Introduce common header to handle broker identification. By default the
paho test broker which gets provisioned on the test machines will be
used.
Still it can be overwritten by specifying MQTT_TEST_BROKER to point to
another location.
Change-Id: Ic0d2c6a025e9de246e79a4309e490c67225e1536
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>