From 89c33b41756be8c8a6a78b1430b2bd18d7a384f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Thu, 13 Apr 2023 21:02:31 +0200 Subject: [PATCH] CI-windows.yml: updated to Qt 6.5.0 (#4944) --- .github/workflows/CI-windows.yml | 2 +- gui/projectfile.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml index 2d8733d47..4134b9b8a 100644 --- a/.github/workflows/CI-windows.yml +++ b/.github/workflows/CI-windows.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [windows-2019, windows-2022] - qt_ver: [5.15.2, 6.2.4, 6.4.2] + qt_ver: [5.15.2, 6.2.4, 6.5.0] fail-fast: false runs-on: ${{ matrix.os }} diff --git a/gui/projectfile.cpp b/gui/projectfile.cpp index 5f808b9b9..3c7d669f6 100644 --- a/gui/projectfile.cpp +++ b/gui/projectfile.cpp @@ -1082,21 +1082,21 @@ void ProjectFile::SafeChecks::saveToXml(QXmlStreamWriter &xmlWriter) const { if (!classes && !externalFunctions && !internalFunctions && !externalVariables) return; - xmlWriter.writeStartElement(Settings::SafeChecks::XmlRootName); + xmlWriter.writeStartElement(QString(Settings::SafeChecks::XmlRootName)); if (classes) { - xmlWriter.writeStartElement(Settings::SafeChecks::XmlClasses); + xmlWriter.writeStartElement(QString(Settings::SafeChecks::XmlClasses)); xmlWriter.writeEndElement(); } if (externalFunctions) { - xmlWriter.writeStartElement(Settings::SafeChecks::XmlExternalFunctions); + xmlWriter.writeStartElement(QString(Settings::SafeChecks::XmlExternalFunctions)); xmlWriter.writeEndElement(); } if (internalFunctions) { - xmlWriter.writeStartElement(Settings::SafeChecks::XmlInternalFunctions); + xmlWriter.writeStartElement(QString(Settings::SafeChecks::XmlInternalFunctions)); xmlWriter.writeEndElement(); } if (externalVariables) { - xmlWriter.writeStartElement(Settings::SafeChecks::XmlExternalVariables); + xmlWriter.writeStartElement(QString(Settings::SafeChecks::XmlExternalVariables)); xmlWriter.writeEndElement(); } xmlWriter.writeEndElement();