Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
+6
-6
@@ -52,7 +52,7 @@ int determineFloorNumber(ObjectStructureElement *floor)
|
||||
return 0;
|
||||
|
||||
bool ok = false;
|
||||
int floorNumber = name.midRef(FLOOR_PATTERN.size()).toInt(&ok);
|
||||
int floorNumber = name.mid(FLOOR_PATTERN.size()).toInt(&ok);
|
||||
if (!ok)
|
||||
return 0;
|
||||
|
||||
@@ -233,7 +233,7 @@ DataManager::EinruestEssentials DataManager::getEssentials(const QString &uuid)
|
||||
mountingPointData.position3d.x = currentElement->getRelativePosition().offsetX;
|
||||
mountingPointData.position3d.y = currentElement->getRelativePosition().offsetY;
|
||||
mountingPointData.position3d.z = currentElement->getRelativePosition().offsetZ;
|
||||
mountingPointData.supportedAssetTypIds.append(currentElement->getData().mountingPointTypeId);
|
||||
mountingPointData.supportedAssetTypIds.append(static_cast<int>(currentElement->getData().mountingPointTypeId));
|
||||
mountingPointData.assetId = getMountedAssetId(currentElement->getId());
|
||||
|
||||
result.mountingPoints.append(MountingPointMessage(mountingPointData, uuid));
|
||||
@@ -244,7 +244,7 @@ DataManager::EinruestEssentials DataManager::getEssentials(const QString &uuid)
|
||||
|
||||
// No BuildingNetworkSwitch and no AnnouncementUnit (see GUEZE-1548/1459)
|
||||
AssetTypeMessage::AssetTypeData assetTypeData;
|
||||
for (int i = MountingPointType::Unknown; i <= static_cast<int>(MountingPointType::EffectGenerationControlUnit); ++i)
|
||||
for (int i = static_cast<int>(MountingPointType::Unknown); i <= static_cast<int>(MountingPointType::EffectGenerationControlUnit); ++i)
|
||||
{
|
||||
if (i == static_cast<int>(MountingPointType::AnnouncementUnit))
|
||||
continue;
|
||||
@@ -320,7 +320,7 @@ LtsWebSocket::ReplyMessage *DataManager::getObjectMounting(int plannedMountingId
|
||||
errorData.errorMessage = QObject::tr("Building id is invalid", "DataManager");
|
||||
errorData.uuid = uuid;
|
||||
|
||||
WARNING_LOG(m_logger) << errorData.errorMessage << " - " << (buildingEle ? buildingEle->getStructureElementTypeId() : -1)
|
||||
WARNING_LOG(m_logger) << errorData.errorMessage << " - " << (buildingEle ? static_cast<int>(buildingEle->getStructureElementTypeId()) : -1)
|
||||
<< ", " << plannedMountingId << ", " << objectId;
|
||||
LtsWebSocket::ReplyMessage *reply = new LtsWebSocket::ErrorMessage(errorData);
|
||||
return reply;
|
||||
@@ -831,7 +831,7 @@ LtsWebSocket::ReplyMessage *DataManager::getAssets(const QSet<int> &assetTypeIds
|
||||
QVector<AssetData> assets;
|
||||
for (const ObjectInstrumentationAsset *asset : m)
|
||||
{
|
||||
if (assetTypeIds.contains(asset->getData().mountingPointTypeId))
|
||||
if (assetTypeIds.contains(static_cast<int>(asset->getData().mountingPointTypeId)))
|
||||
assets += assetData(asset);
|
||||
}
|
||||
|
||||
@@ -1196,7 +1196,7 @@ Messages::AssetData DataManager::assetData(const ObjectInstrumentationAsset *ass
|
||||
}
|
||||
|
||||
result.id = asset->getId();
|
||||
result.assetTypeId = asset->getData().mountingPointTypeId;
|
||||
result.assetTypeId = static_cast<int>(asset->getData().mountingPointTypeId);
|
||||
result.assetTag = QString::fromStdString(asset->getData().barcode);
|
||||
result.designation = QString::fromStdString(asset->getData().name);
|
||||
result.hostname = QString::fromStdString(asset->getData().hostname);
|
||||
|
||||
Reference in new issue
Block a user