Adds first regression and Qt6-migration-quality accessing results

This commit is contained in:
torsten committed 2026-10-22 08:17:55 +00:00
1 parent c39dbec31f
commit 068316af63
5 files changed
+8 -8

No files matched your search

@@ -192,7 +192,7 @@ int main(int argc, char **argv) // TODO: json strings to lower
NGLApplication app(argc, argv);
app.createLogger("opApp");
QApplication::setQuitOnLastWindowClosed(false); // we are cool enough to handle it ourselves 8)
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
// Qt::AA_UseHighDpiPixmaps: no-op since Qt6 (high-DPI pixmaps are always enabled)
QNetworkProxy::setApplicationProxy(QNetworkProxy()); // do NOT use proxies anywhere!
NGL::LoggerHandler *lh = NGL::LoggerHandler::getLoggerHandler();
@@ -23,7 +23,7 @@ int main(int argc, char **argv)
QNetworkProxy::setApplicationProxy(QNetworkProxy());
NGLApplication app(argc, argv);
app.createLogger("SRP");
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
// Qt::AA_UseHighDpiPixmaps: no-op since Qt6 (high-DPI pixmaps are always enabled)
SituationReplay::ConnectionParams connParams;
connParams.domainId = 1;
@@ -50,7 +50,7 @@ int main(int argc, char **argv)
app.createLogger("THP", "log4cxx_thp_viewer.props");
app.setOrganizationName(QStringLiteral("RME"));
app.setApplicationName(QStringLiteral("thp_viewer"));
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
// Qt::AA_UseHighDpiPixmaps: no-op since Qt6 (high-DPI pixmaps are always enabled)
QDir::setSearchPaths(QLatin1String("icon"), QStringList(QLatin1String(":/style/")));
Q_INIT_RESOURCE(rme_light_style);
@@ -4,7 +4,7 @@
#include <osg/Material>
#include <osg/BlendFunc>
#include <osg/BlendColor>
#include <QStringRef>
#include <QStringView>
#include <QtCore/QVector>
namespace VCtrl
@@ -87,10 +87,10 @@ void SplitVisitor::apply(osg::Group &node)
for (unsigned int i = 0; i < node.getNumDescriptions(); ++i)
{
QString descr = QString::fromStdString(node.getDescription(i));
const QVector<QStringRef> descprt = descr.splitRef(QLatin1Char(';'));
for (const QStringRef &prt : descprt)
const QVector<QStringView> descprt = QStringView(descr).split(QLatin1Char(';'));
for (const QStringView &prt : descprt)
{
const QVector<QStringRef> items = prt.split(QLatin1Char('='));
const QVector<QStringView> items = prt.split(QLatin1Char('='));
if (items.size() == 2 && items[0] == QLatin1String("base_height"))
h = items[1].toFloat();
}
@@ -23,7 +23,7 @@ TypeStruct::TypeStruct(const rpr2::EntityTypeStruct &eis)
TypeStruct TypeStruct::fromString(const QString &string)
{
const QVector<QStringRef> sl = string.splitRef(QLatin1Char('.'));
const QVector<QStringView> sl = QStringView(string).split(QLatin1Char('.'));
TypeStruct ts;
bool bOk;