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,9 +7,8 @@
*/
#include "licence_handler.h"
#include <utility>
#include "dds_handler.h"
#include <QtCore/QFile>
#include <QFile>
#include <LtsLicence/aes_crypt.h>
@@ -21,6 +20,7 @@ LicenceHandler::LicenceHandler(const std::shared_ptr<DdsHandler> &ddsHandler, co
, Interface::Fts::FreeLicenceRequestHandler(ddsHandler->fts())
, m_ddsHandler(ddsHandler)
, m_xmlFileName(licenceFile)
, m_logger(getLogger("LicenceHandler"))
{
INFO_LOG(m_logger) << "Start ServiceManagement LicenceHandler. Filename: " << m_xmlFileName;
} // end of ctor()
@@ -28,7 +28,7 @@ LicenceHandler::LicenceHandler(const std::shared_ptr<DdsHandler> &ddsHandler, co
LicenceHandler::~LicenceHandler()
{
for (const LtsLicence::Licence &info : std::as_const(m_licenceVec))
for (const LtsLicence::Licence &info : qAsConst(m_licenceVec))
m_ddsHandler->dts()->removeLicenceInformationByKey(info.name.toStdString());
} // end of dtor()
//-----------------------------------------------------------------------------
@@ -302,7 +302,7 @@ QString LicenceHandler::dumpLicenceInformation(const LtsLicence::Licence &licenc
void LicenceHandler::publishAllData()
{
for (const LtsLicence::Licence &info : std::as_const(m_licenceVec))
for (const LtsLicence::Licence &info : qAsConst(m_licenceVec))
publishData(info);
} // end of publishAllData()
//-----------------------------------------------------------------------------