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

@@ -6,7 +6,6 @@
*/
#include "handler_san_nine_liner.h"
#include <utility>
#include "object_san_nine_liner.h"
#include "object_san_category_line.h"
#include "san_category_line_json.h"
@@ -14,7 +13,7 @@
#include "settings.h"
#include <QtCore/QJsonDocument>
#include <QJsonDocument>
namespace Evaluations
{
@@ -25,6 +24,7 @@ HandlerSanNineLiner::HandlerSanNineLiner(const std::shared_ptr<DdsHandler> &ddsH
, Interface::Fts::SanNineLinerRemoveRequestHandler(ddsHandler->fts())
, m_ddsHandler(ddsHandler)
, m_db(db)
, m_logger(getLogger("HandlerSanNineLiner"))
{}
HandlerSanNineLiner::~HandlerSanNineLiner()
@@ -75,7 +75,7 @@ bool HandlerSanNineLiner::init()
}
// publish
for (ObjectSanNineLiner *objSan : std::as_const(m_mapObjectSanNineLiner))
for (ObjectSanNineLiner *objSan : qAsConst(m_mapObjectSanNineLiner))
objSan->onPublishData();
return true;
@@ -142,7 +142,7 @@ void HandlerSanNineLiner::onSanNineLinerModifyRequest(const rti::core::SampleIde
QVector<Database::SanCategoryLine> linesCategory = SanCategoryLine::fromJson(request.lines(), data.id);
INFO_LOG(m_logger) << "LinesCategory count: " << linesCategory.count();
for (Database::SanCategoryLine cl : std::as_const(linesCategory))
for (Database::SanCategoryLine cl : qAsConst(linesCategory))
{
ObjectSanCategoryLine *ifsCl(new ObjectSanCategoryLine(m_ddsHandler, m_db));
ret = ifsCl->createObject(cl);