Session 026: Lts/Services Qt5:: to Qt6:: migration

- Migrated all 104 CMakeLists.txt files in Lts/Services
- Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg,
  Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test,
  Qt5::SerialPort with Qt6:: equivalents
- 1244 files modified (CMakeLists.txt and source files)
- Zero Qt5:: references remaining in Lts/Services
- QTextCodec, QDesktopWidget: No blocking issues found
- QRegExp: 7 occurrences remain (deprecated but functional)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-25 19:23:30 +02:00
1 parent c143ff8a4f
commit d5af8b9764
1244 files changed
+4266 -4633

No files matched your search

@@ -7,11 +7,10 @@
*/
#include "web_socket_handler.h"
#include <utility>
#include <QtWebSockets/QWebSocket>
#include <QtCore/QJsonObject>
#include <QtCore/QJsonDocument>
#include <QWebSocket>
#include <QJsonObject>
#include <QJsonDocument>
#include <ParticipantManagement/ppm.hpp>
@@ -26,7 +25,7 @@ WebSocketHandler::WebSocketHandler(QObject *parent)
WebSocketHandler::~WebSocketHandler()
{
for (const auto& ws : std::as_const(m_webSockets))
for (const auto& ws : qAsConst(m_webSockets))
{
ws->disconnect(this);
}
@@ -71,7 +70,7 @@ bool WebSocketHandler::sendTelegramInternal(const ParticipantPosition &pos, int
const QString jsonStr = QString::fromUtf8(QJsonDocument(obj).toJson(QJsonDocument::Compact));
bool ret = false;
for (const auto &wsw : std::as_const(m_webSockets))
for (const auto &wsw : qAsConst(m_webSockets))
{
if (wsw->sendTextMessage(jsonStr))
ret = true;