1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Lucie Gérard
edd6855344 Use SPDX license identifiers
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>
2022-06-16 10:22:20 +02:00
Jani Heikkinen
5735946c27 Update dependencies on 'dev'
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>
2020-11-11 12:41:25 +01:00
Maurice Kalinowski
19475c3403 Move qWarning to categorized logging
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>
2018-07-26 08:16:07 +00:00
Maurice Kalinowski
307eaa2cf8 MQTT5: Update tests
Some tests require checks for MQTT5

Change-Id: If3c22c9c805a137d90b27bae0bdc9d77e17cd8a1
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2018-07-20 11:53:40 +00:00
Maurice Kalinowski
94c9f2696b MQTT5 Tests: Load test configuration
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>
2018-06-29 12:43:55 +00:00
Jani Heikkinen
984527e516 Update license headers
Change-Id: If9b7f82a71ec554b152485ddd91a9d105019c6ce
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2017-09-25 11:58:23 +00:00
Maurice Kalinowski
776cb76226 Fix launching broker on testmachine
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>
2017-09-23 06:37:57 +00:00
Maurice Kalinowski
41440a51f0 Refactor test server connection
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>
2017-06-29 12:47:45 +00:00