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:
1 parent
c143ff8a4f
commit
d5af8b9764
1244 files changed
+4266
-4633
No files matched your search
@@ -7,17 +7,16 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <utility>
|
||||
#include <QObject>
|
||||
#include <QPolygonF>
|
||||
#include <QtCore/QTimer>
|
||||
#include <QTimer>
|
||||
|
||||
#include "aes_enums.hpp"
|
||||
#include "main_handler.h"
|
||||
#include "special_area_provider.h"
|
||||
|
||||
#include "logger.h"
|
||||
#include <Core/core_types.h>
|
||||
#include <DDS/Core/function_reply_object.h>
|
||||
#include <ProjectDataManagement/pdm_dtc.h>
|
||||
#include <Trajectory/trajectory_generator.h>
|
||||
|
||||
@@ -149,7 +148,7 @@ class ObjectBase : public QObject
|
||||
{
|
||||
QPolygonF out;
|
||||
out.reserve(in.size());
|
||||
for (const auto &pos : std::as_const(in))
|
||||
for (const auto &pos : qAsConst(in))
|
||||
out.push_back(QPointF(pos.lon(), pos.lat()));
|
||||
|
||||
return out;
|
||||
@@ -169,6 +168,7 @@ class ObjectBase : public QObject
|
||||
MainHandler *m_mainHandler;
|
||||
bool m_bSupportsPausing; // can this entity be paused (e.g. artillery)
|
||||
QString m_typeName;
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
|
||||
template <typename T> class ObjectBaseTmpl : public ObjectBase
|
||||
|
||||
Reference in new issue
Block a user