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:
2065 files changed
+48219
-1763
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "ltssessiondata_export.h"
|
||||
#include <ProjectConfig/project_defines.h>
|
||||
#include <LtsSession/ltssessiondata_export.h>
|
||||
#include <Lts/Common/ProjectConfig/project_defines.h>
|
||||
#include <LtsAppDescriptor/lts_app_descriptor.h>
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
@@ -27,7 +27,7 @@ class LTSSESSIONDATA_EXPORT LtsSessionData
|
||||
public:
|
||||
static LtsSessionData *getInstance();
|
||||
|
||||
|
||||
// Presets:
|
||||
const QString &getOperatorNamePreset() const { return m_operatorNamePreset; }
|
||||
const QString &getPasswordPreset() const { return m_passwordPreset; }
|
||||
void setOperatorPreset(const QString &operatorName, const QString &password) { m_operatorNamePreset = operatorName; m_passwordPreset = password; }
|
||||
@@ -42,12 +42,13 @@ public:
|
||||
IDL::PartitionType getPartitionTypePreset() const { return m_partitionTypePreset; }
|
||||
void setPartitionPreset(const int partitionId, IDL::PartitionType partitionType) { m_partitionIdPreset = partitionId; m_partitionTypePreset = partitionType; }
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief removePresets IMPORTANT: call removePresets after using a Preset, otherwise other apps / sessions will pick these old Presets up..
|
||||
*/
|
||||
void removePresets();
|
||||
|
||||
|
||||
|
||||
// Other:
|
||||
int getScriptId() const { return m_scriptId; }
|
||||
void setScriptId(int scriptId) { m_scriptId = scriptId; }
|
||||
|
||||
@@ -58,7 +59,7 @@ public:
|
||||
void setOperatorName(const QString &operatorName) { m_operatorName = operatorName; }
|
||||
|
||||
const QSet<int> &getOperatorRights() const { return m_operatorRights; }
|
||||
void setOperatorRights(const QSet<int> &operatorRights) { m_operatorRights = operatorRights; }
|
||||
void setOperatorRights(const QSet<int> &operatorRights) { m_operatorRights = operatorRights; } // Todo: Emit newOperatorRights() if changed?
|
||||
bool hasOperatorRight(int operatorRight) const;
|
||||
|
||||
const QPixmap &getProfilePicture() const { return m_profilePicture; }
|
||||
@@ -101,7 +102,7 @@ private:
|
||||
~LtsSessionData() = default;
|
||||
friend struct LtsSessionDataHandler;
|
||||
|
||||
|
||||
// Presets to skip some Payloads
|
||||
QString m_operatorNamePreset;
|
||||
QString m_passwordPreset;
|
||||
QStringList m_qosFile;
|
||||
@@ -130,4 +131,4 @@ static inline bool hasOperatorRight(int operatorRight)
|
||||
return instance->hasOperatorRight(operatorRight);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace LtsSessionData
|
||||
Reference in new issue
Block a user