chore: update README and related docs

This commit is contained in:
2024-12-04 20:07:15 +08:00
parent 64c4d2e064
commit b01601085b
6 changed files with 42 additions and 49 deletions

View File

@ -131,8 +131,8 @@ void GraphicsScene::showSvg(const QString &filepath)
QSvgRenderer * render = new QSvgRenderer(svgItem);
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
// Qt 6.7.0's SVG support is terrible caused by huge memory usage, see QTBUG-124287
// Qt 6.7.1's is somewhat better, memory issue seems fixed, but still laggy when zoom in
// Anyway let's disable it for now.
// Qt 6.7.1's is somewhat better, memory issue seems fixed, but still laggy when zoom in,
// see QTBUG-126771. Anyway let's disable it for now.
render->setOptions(QtSvg::Tiny12FeaturesOnly);
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
render->load(filepath);