File 0001-Make-it-compile-with-Qt-6.10.patch of Package kstars
From ce53888e6dbaeb1b9239fca55288b5ead969b5a7 Mon Sep 17 00:00:00 2001
From: Jasem Mutlaq <mutlaqja@ikarustech.com>
Date: Sun, 12 Oct 2025 18:46:30 +0300
Subject: [PATCH] Make it compile with Qt 6.10
---
 kstars/ekos/focus/exposurewidget.cpp           | 2 +-
 kstars/ekos/guide/internalguide/guidestars.cpp | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/kstars/ekos/focus/exposurewidget.cpp b/kstars/ekos/focus/exposurewidget.cpp
index 495152181..efe682d0d 100644
--- a/kstars/ekos/focus/exposurewidget.cpp
+++ b/kstars/ekos/focus/exposurewidget.cpp
@@ -28,5 +28,5 @@ QString ExposureWidget::textFromValue(double value) const
         count++;
         v *= 10;
     }
-    return QWidget::locale().toString(value, u'f', std::max(3, count));
+    return QWidget::locale().toString(value, static_cast<char>(u'f'), std::max(3, count));
 }
diff --git a/kstars/ekos/guide/internalguide/guidestars.cpp b/kstars/ekos/guide/internalguide/guidestars.cpp
index ad1c2f994..9698345ae 100644
--- a/kstars/ekos/guide/internalguide/guidestars.cpp
+++ b/kstars/ekos/guide/internalguide/guidestars.cpp
@@ -17,6 +17,7 @@
 #undef Const
 #include "ekos/auxiliary/stellarsolverprofileeditor.h"
 #include <QTime>
+#include <QElapsedTimer>
 
 #define DLOG if (false) qCDebug
 
-- 
2.51.0