Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list
Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF
Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
- Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
- Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)
Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified
Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
18662 files changed
+4115092
-5435
No files matched your search
@@ -0,0 +1,196 @@
|
||||
class Polygon {
|
||||
constructor() {
|
||||
this.vertex = [];
|
||||
}
|
||||
addVertext(vertex) {
|
||||
this.vertex.push(vertex);
|
||||
}
|
||||
closeRing() {
|
||||
this.vertex.push(this.vertex[0]);
|
||||
}
|
||||
}
|
||||
var parser, xmlDoc, PolyArray;
|
||||
var PolygonObj = [];
|
||||
var text = `<Group>
|
||||
<Name>FOOTPRINT</Name>
|
||||
<BBox_Min Z="2.850" Y="2.181" X="3.896" />
|
||||
<BBox_Max Z="2.851" Y="6.766" X="6.175" />
|
||||
<Polygon>
|
||||
<Name>p6739</Name>
|
||||
<Vertex>
|
||||
<Name>p6739/V1</Name>
|
||||
<Coord X="4.166" Y="6.766" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V2</Name>
|
||||
<Coord X="4.151" Y="6.692" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V3</Name>
|
||||
<Coord X="3.914" Y="6.694" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V4</Name>
|
||||
<Coord X="3.896" Y="5.925" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V5</Name>
|
||||
<Coord X="4.158" Y="5.923" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V6</Name>
|
||||
<Coord X="4.089" Y="2.181" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V7</Name>
|
||||
<Coord X="5.178" Y="2.203" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V8</Name>
|
||||
<Coord X="5.178" Y="2.253" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V9</Name>
|
||||
<Coord X="5.863" Y="2.253" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V10</Name>
|
||||
<Coord X="5.879" Y="3.634" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V11</Name>
|
||||
<Coord X="6.024" Y="3.632" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V12</Name>
|
||||
<Coord X="6.028" Y="4.383" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V13</Name>
|
||||
<Coord X="5.888" Y="4.385" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V14</Name>
|
||||
<Coord X="5.898" Y="5.830" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V15</Name>
|
||||
<Coord X="6.171" Y="5.829" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V16</Name>
|
||||
<Coord X="6.175" Y="6.554" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V17</Name>
|
||||
<Coord X="5.902" Y="6.555" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V18</Name>
|
||||
<Coord X="5.903" Y="6.760" Z="2.850" />
|
||||
</Vertex>
|
||||
</Polygon>
|
||||
<Polygon>
|
||||
<Name>p6739</Name>
|
||||
<Vertex>
|
||||
<Name>p6739/V1</Name>
|
||||
<Coord X="4.166" Y="6.766" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V2</Name>
|
||||
<Coord X="4.151" Y="6.692" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V3</Name>
|
||||
<Coord X="3.914" Y="6.694" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V4</Name>
|
||||
<Coord X="3.896" Y="5.925" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V5</Name>
|
||||
<Coord X="4.158" Y="5.923" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V6</Name>
|
||||
<Coord X="4.089" Y="2.181" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V7</Name>
|
||||
<Coord X="5.178" Y="2.203" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V8</Name>
|
||||
<Coord X="5.178" Y="2.253" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V9</Name>
|
||||
<Coord X="5.863" Y="2.253" Z="2.851" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V10</Name>
|
||||
<Coord X="5.879" Y="3.634" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V11</Name>
|
||||
<Coord X="6.024" Y="3.632" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V12</Name>
|
||||
<Coord X="6.028" Y="4.383" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V13</Name>
|
||||
<Coord X="5.888" Y="4.385" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V14</Name>
|
||||
<Coord X="5.898" Y="5.830" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V15</Name>
|
||||
<Coord X="6.171" Y="5.829" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V16</Name>
|
||||
<Coord X="6.175" Y="6.554" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V17</Name>
|
||||
<Coord X="5.902" Y="6.555" Z="2.850" />
|
||||
</Vertex>
|
||||
<Vertex>
|
||||
<Name>p6739/V18</Name>
|
||||
<Coord X="5.903" Y="6.760" Z="2.850" />
|
||||
</Vertex>
|
||||
</Polygon>
|
||||
</Group>`
|
||||
parser = new DOMParser();
|
||||
xmlDoc = parser.parseFromString(text, "text/xml");
|
||||
|
||||
PolyArray = Array.from(xmlDoc.getElementsByTagName("Polygon"));
|
||||
PolyArray.forEach(polygon => {
|
||||
polyObj = new P1();
|
||||
var vertexes = Array.from(polygon.children);
|
||||
for (var x = 1; x < vertexes.length; x++) {
|
||||
var vertextChildren = vertexes[x].children[1].attributes;
|
||||
var vertex = {};
|
||||
for (var y = 0; y < 3; y++) {
|
||||
switch (y) {
|
||||
case 1:
|
||||
vertex.x = parseFloat(vertextChildren[y].nodeValue);
|
||||
break;
|
||||
case 2:
|
||||
vertex.y = parseFloat(vertextChildren[y].nodeValue);
|
||||
case 3:
|
||||
vertex.z = parseFloat(vertextChildren[y].nodeValue);
|
||||
}
|
||||
}
|
||||
polyObj.addVertext(vertex);
|
||||
}
|
||||
P1.push(polyObj);
|
||||
});
|
||||
P1.forEach(polygon => {
|
||||
polygon.closeRing();
|
||||
});
|
||||
Reference in new issue
Block a user