diff options
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2025-09-10 13:49:54 +0200 |
|---|---|---|
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2025-09-11 20:00:47 +0200 |
| commit | 641883c7e19b618ee47f0f7988bb161dc1056ae2 (patch) | |
| tree | 050b363db95d7d1c19c7b4fa65df8f0407142dec /src/qml/jsruntime/qv4arraydata.cpp | |
| parent | a6da6b3acaf6016893e66e5788aacc5adb9a117a (diff) | |
Make svgtoqml run correctly even without default platform plugin
The Qt SVG parser depends on having a QGuiApplication in order
to load e.g. fonts. We want to prefer the default plugin on
desktop platforms, since you will then be able to use SVGs that
depend on system fonts as well.
However, in a host build, where there are no GUI-enabled QPA
plugins, we fall back to offscreen, which has some font
support but which does not depend on a window manager.
Task-number: QTBUG-139976
Change-Id: Ia9a5239c3d16f1daa4ad68d66412f519109361c2
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4arraydata.cpp')
0 files changed, 0 insertions, 0 deletions
