Files
torsten d5c13033e2 Session 022: Migrate Lts/Tools (72 submodules) to Qt6
- Copied complete Lts/Tools directory from qt5-before to qt6-after
- Updated 32 CMakeLists.txt files (Qt5:: → Qt6::)
- Tools subdirectory already included in parent Lts/CMakeLists.txt
- All 72 tool submodules now present in qt6-migrated-legatus
- Includes: Adler, ArAssets, ConfigX, DBAdministration, DBUpdate,
  DdsView, InfrastructureManagement, and 67 more tools
- C++17 standard (RTI 7.7.0 compatibility maintained)
- Tests deferred until final validation phase

Migration progress:
✅ Lts/Application (68 files)
✅ Lts/DDS (verified Qt6-ready)
✅ Lts/Plugins (60 submodules, verified)
✅ Lts/Projects (5 submodules, verified)
✅ Lts/Proxies (13 submodules, verified)
✅ Lts/Services (47 submodules, verified)
✅ Lts/Tools (72 submodules, copied + CMake updated)
✅ Lts/Viewer (LtsFileDialog, LtsReportDisplay, SituationMap)
🟡 TetraIF (partial)
🟡 Z (partial: nglwidgets, QtSingleApplication, qsql_informix, WMS_Interface)
2026-08-25 14:07:20 +02:00

70 lines
1.9 KiB
C++
Executable File

/**
* @RDE_HEADER@
* DDS View -> The "LogView" for DDS
* $Id$
* $HeadURL$
* $Author$
*/
/*!
*
* \page OCLaptop O/C Laptop
*
* This part of the TDS software is needed to assist the O/C in the field. It is
* designed to provide a subset of the workstation software to help the O/C to
* evaluate the situation in the field. It has also the possibility to do short
* after action reviews (prepared with the workstation software) and to do evaluations
* for later usage in the workstation i.e. for the after action review. The TakeHomePackage-Viewer
* is also a part of this software component.
*
*/
#include <QtGui/QDesktopServices>
#include <QtCore/QSettings>
#include <LtsCommandLineParser/LtsCommandLineParser.h>
#include <NGLLogger/INGLLogger.h>
#include <nglsettings/nglsettings_settings.h>
#include <nglapplication/nglcoreapplication.h>
#include "topic_discoverer.h"
int main( int argc, char *argv[] )
{
NGLCoreApplication app ( argc, argv );
QCoreApplication::setApplicationName(QLatin1String("Topic Discoverer"));
QCoreApplication::setOrganizationName(QLatin1String("RME"));
app.createLogger("TopicDiscover", "log4cxx_topicdiscover.props");
NGL::INGLLogger &logger = app.baseLogger();
LtsCommandLineParser::LtsCommandLineParser options;
options.addOption( { QStringList() << QLatin1String("lang") << QLatin1String("language")
, QLatin1String("language / region code (e.g. de_DE or en_US)")
, QLatin1String("de_DE|en_US")
, QLatin1String("en_US") } );
if(!options.init())
{
options.showHelp();
return -1;
}
QString langCodeArg = options.isSet(QLatin1String("lang")) ? options.value(QLatin1String("lang")) : QLatin1String("en_US");
Q_UNUSED(langCodeArg);
STARTUP_LOG(logger);
TopicDiscoverer td(0);
td.init(DDS::QosProfile::ConnectionType::ShmUdp, QUrl());
int retval = app.exec();
SHUTDOWN_LOG(logger);
return retval;
}