add more issue description

This commit is contained in:
gregory
2025-05-08 15:56:28 -04:00
parent a3eaedde54
commit 813bc1d97f
+5 -2
View File
@@ -126,8 +126,11 @@ QString QrCodeGenerator::toSvgString(const qrcodegen::QrCode &qr,
// return image; // return image;
// } // }
// modified version that solve large string issue. // QR code image is being rendered from SVG output, not directly from bitmaps or
// W : qt.svg: Invalid path data; path truncated. // matrices
// If the generated SVG string is too large or malformed, the QSvgRenderer will
// throw warnings.
// like: W : qt.svg: Invalid path data; path truncated.
QImage QrCodeGenerator::qrCodeToImage(const qrcodegen::QrCode &qrCode, QImage QrCodeGenerator::qrCodeToImage(const qrcodegen::QrCode &qrCode,
quint16 border, quint16 size) const quint16 border, quint16 size) const
{ {