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,7 +7,6 @@
*/
#include "group_handler.h"
#include <utility>
#include "group.h"
#include "heartbeat_listener.h"
#include "service_donator.h"
@@ -24,6 +23,7 @@ GroupHandler::GroupHandler(const std::shared_ptr<DdsHandler> &ddsHandler,
, m_serviceDonator(donator)
, m_ddsHandler(ddsHandler)
, m_heartbeatListener(new HeartbeatListener(ddsHandler->connector(), donator))
, m_logger(getLogger("GroupHandler"))
{
}
@@ -65,7 +65,7 @@ QVector<Group *> GroupHandler::groups() const
GroupScheme *GroupHandler::groupSchemeFromType(Core::ServiceGroupType type)
{
for (GroupScheme *scheme : std::as_const(m_groupSchemes))
for (GroupScheme *scheme : qAsConst(m_groupSchemes))
{
if (scheme->groupType == type)
return scheme;
@@ -240,7 +240,7 @@ Core::FunctionReplyObject GroupHandler::onStopAllForExercise(int domainId, int e
int cntStopped = 0;
int cntAlive = 0;
for (Group *group : std::as_const(m_groups))
for (Group *group : qAsConst(m_groups))
{
if (group->exercisePartitionId() == exercisePartitionId &&
group->domainId() == domainId)