commit 7e9bfaad4d548ba35f0200bf002d5edee5b86e59
Author: Juergen Spitzmueller <[email protected]>
Date: Wed Oct 15 12:26:49 2025 +0200
Fix compilation with Qt 6.10
See https://doc.qt.io/qt-6/qstring.html#arg-3
(cherry picked from commit e98b6ad533360500528b48043e20c79f5cb67b07)
(cherry picked from commit 9d2e11236883b5b8b76632d51b4fc80e09194f75)
---
src/frontends/qt/GuiSymbols.cpp | 2 +-
status.24x | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/frontends/qt/GuiSymbols.cpp b/src/frontends/qt/GuiSymbols.cpp
index d6a1926938..8d6fdb6a0d 100644
--- a/src/frontends/qt/GuiSymbols.cpp
+++ b/src/frontends/qt/GuiSymbols.cpp
@@ -250,7 +250,7 @@ public:
"style=\"font-size:
xx-large;\">%1"
"</span><br>U+%2</p>%3")
.arg(toqstr(c))
- .arg(QString("%1").arg(c, 0,
16).toUpper())
+ .arg(QString("%1").arg(int(c), 0,
16).toUpper())
.arg(latex));
}
case Qt::SizeHintRole:
diff --git a/status.24x b/status.24x
index 7644e4eeaa..43bb58c0a1 100644
--- a/status.24x
+++ b/status.24x
@@ -127,6 +127,8 @@ What's new
* BUILD/INSTALLATION
+- Fix compilation error due to more restrictive function in Qt 6.10.
+
- Address compiler warning with Qt > 6.7.
- Fix windres invocation for cygwin build.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs