Qt6 Migration: BUILD_RTI guards und CMake fixes

- BUILD_RTI conditional compilation für RTI Connext DDS dependencies
- Namespace fixes in core_dtc.h (Core:: → DDS::Core::)
- CMakeLists.txt: BUILD_RTI option und conditional dependencies
- Handler minelayer: namespace closing mit BUILD_RTI guard
- Build erfolgreich mit BUILD_RTI=OFF validiert

Signed-off-by: Torsten Wierschin <torsten.wierschin@life-maps.com>
This commit is contained in:
torsten committed 2026-08-21 18:37:18 +02:00
1 parent c599be63e3
commit 950d669538
422 files changed
+1013 -599

No files matched your search

@@ -8,17 +8,20 @@
#pragma once
#include "dds_handler.h"
#include "logger.h"
#include <ParticipantManagement/ppm.hpp>
#include <QtCore/QObject>
#include <QtCore/QMap>
#if BUILD_RTI
#include "dds_handler.h"
#include <ParticipantManagement/ppm.hpp>
#endif
namespace VideoOverlayManagement
{
#if BUILD_RTI
class HandlerParticipantData : public QObject
{
Q_OBJECT
@@ -73,5 +76,19 @@ private: // attributes
};
#else
// Stub implementation when BUILD_RTI is disabled
class HandlerParticipantData : public QObject
{
Q_OBJECT
public:
explicit HandlerParticipantData(QObject *parent = nullptr) : QObject(parent) {}
~HandlerParticipantData() = default;
bool init() { return false; }
int getEquipmentNumber(int /*participantId*/) const { return 0; }
QMap<int, int> getAllAssignedParticipants() const { return {}; }
};
#endif
} // namespace VideoOverlayManagement