From c01b0f9539b3f19ae7d69ea1805eb911a8e0c7d5 Mon Sep 17 00:00:00 2001 From: ChrisHal Date: Mon, 13 Jul 2026 22:07:53 +0200 Subject: [PATCH 1/2] in NPYorBINExportTrace always use C locale --- hekatoolslib/exportNPY.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hekatoolslib/exportNPY.cpp b/hekatoolslib/exportNPY.cpp index 651a30d..2b07766 100644 --- a/hekatoolslib/exportNPY.cpp +++ b/hekatoolslib/exportNPY.cpp @@ -121,6 +121,8 @@ namespace hkLib { void NPYorBINExportTrace(std::istream& datafile, hkTreeNode& TrRecord, std::filesystem::path filename, bool createJSON = true) { assert(TrRecord.getLevel() == hkTreeNode::LevelTrace); + locale_manager lm; + lm.setLocale("C"); auto yunit = TrRecord.getString(TrYUnit); auto xunit = TrRecord.getString(TrXUnit); auto x0 = TrRecord.extractLongReal(TrXStart); @@ -140,8 +142,6 @@ namespace hkLib { } if (createJSON) { - locale_manager lm; - lm.setLocale("C"); filename.replace_extension("json"); std::ofstream jsonfile(filename); if (!jsonfile) { From 3092d55d9f6c3a1860770747b6217e0b7371a029 Mon Sep 17 00:00:00 2001 From: Christian Halaszovich Date: Mon, 13 Jul 2026 22:17:24 +0200 Subject: [PATCH 2/2] Update Qt version in CMake workflow --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bc8954d..a0f1c87 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - qt_version: ['6.8.3'] + qt_version: ['6.10.3'] # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix