File e98b6ad533360500528b48043e20c79f5cb67b07.patch of Package lyx
commit e98b6ad533360500528b48043e20c79f5cb67b07
Author: Juergen Spitzmueller <spitz@lyx.org>
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
diff --git a/src/frontends/qt/GuiSymbols.cpp b/src/frontends/qt/GuiSymbols.cpp
index 01cf73c03e..a62fe1a828 100644
--- a/src/frontends/qt/GuiSymbols.cpp
+++ b/src/frontends/qt/GuiSymbols.cpp
@@ -249,7 +249,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: