BUILD_RTI conditional fixes and Qt6 API updates

- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found
- cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed
- Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI
- Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI
- Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals
- cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return())
- Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc.
- BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-19 09:24:50 +02:00
1 parent b774f4035c
commit 4c9861a469
2065 files changed
+48219 -1763

No files matched your search

@@ -1,74 +0,0 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von DDS generiert
// Für die Migration erstellen wir minimale Typ-Definitionen
#include <QString>
#include <QList>
#include <QVector>
namespace AreaEffectSimulation
{
// Forward declarations
struct ExplosionSingle;
struct EffectCluster;
struct AirSupportImpact;
struct OffRouteMine;
struct TrajectoryAdler;
// ExplosionSingle - Einzelne Explosion
struct ExplosionSingle {
int id = 0;
double x = 0.0;
double y = 0.0;
double z = 0.0;
double radius = 0.0;
double damage = 0.0;
qint64 timestamp = 0;
QString type;
};
// EffectCluster - Gruppe von Effekten
struct EffectCluster {
int id = 0;
QString name;
double x = 0.0;
double y = 0.0;
double z = 0.0;
QList<int> effectIds;
qint64 timestamp = 0;
};
// AirSupportImpact - Luftunterstützungseffekt
struct AirSupportImpact {
int id = 0;
double x = 0.0;
double y = 0.0;
double z = 0.0;
QString aircraftType;
QString weaponType;
qint64 timestamp = 0;
};
// OffRouteMine - Abseits-Mine
struct OffRouteMine {
int id = 0;
double x = 0.0;
double y = 0.0;
double z = 0.0;
bool active = true;
QString mineType;
qint64 timestamp = 0;
};
// TrajectoryAdler - Flugbahn für Adler
struct TrajectoryAdler {
int id = 0;
QList<double> xPoints;
QList<double> yPoints;
QList<double> zPoints;
qint64 timestamp = 0;
QString trajectoryType;
};
} // namespace AreaEffectSimulation
@@ -1,71 +0,0 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Typ-Definitionen
#include <QString>
namespace AreaEffectSimulation
{
// Placeholder enums - werden durch echte DDS-Typen ersetzt
enum class SymbolAppearance : int {
Solid = 0,
Dashed = 1,
Dotted = 2
};
enum class SymbolVisibility : int {
Visible = 0,
Hidden = 1
};
struct UnitSymbolPosition {
double x = 0.0;
double y = 0.0;
double z = 0.0;
};
// AesType - Arten von Area Effect Simulation Entities
enum class AesType : int {
AtBCContamination = 0,
AtNContamination = 1,
AtDangerArea = 2,
AtMineArea = 3,
AtMineCorridor = 4,
AtExplosionSingle = 5,
AtExplosionArea = 6,
AtFunctionalArea = 7,
AtBorderline = 8,
AtMineAreaSingleMines = 9,
AtDusSingleMine = 10,
AtGasPipe = 11,
AtTechnicalArea = 12,
AtAirSupportImpact = 13,
AtUnknown = 99
};
// AesEffectState_def - Status eines AES Effekts (mit _def Suffix wie DDS generiert)
enum class AesEffectState_def : int {
EsCreated = 0,
EsPrepared = 1,
EsFired = 2,
EsActivated = 3,
EsPaused = 4,
EsExpired = 5,
EsRemoved = 6,
EsUnknown = 99,
EsError = 100
};
// AesEffectState - Alias für AesEffectState_def (Backward Compatibility)
using AesEffectState = AesEffectState_def;
// EffectStateStruct - Filter-Struktur für Effect States
struct EffectStateStruct {
bool showCreated = true;
bool showPrepared = true;
bool showActive = true;
bool showInactive = false;
bool showExpired = false;
};
} // namespace AreaEffectSimulation