Migrates ./Lts/Viewer successfully to Qt6

This commit is contained in:
torsten committed 2026-09-23 10:14:59 +02:00
1 parent cdb8c754e9
commit ed9fc51e7a
28 files changed
+250 -129

No files matched your search

@@ -16,6 +16,7 @@
// Qt
#include <QtCore/QDir>
#include <QtCore/QVector>
#include <utility>
//----------------------------------------------------------------------------
@@ -38,7 +39,7 @@ QString getResourcePath()
pathsToSearch += QLatin1String("/usr/share/arcgis/resources");
#endif
for (const QString &path : qAsConst(pathsToSearch))
for (const QString &path : std::as_const(pathsToSearch))
{
if (QDir(path).exists())
return path + QLatin1Char('/');