I have a local HTML file that I want to show on my app. I can use, and indeed am using, WebView but I feel it's a bit overkill as the HTML file is static and contains only minimum styles, and I'm pretty sure Text element can handle it. However, Text element doesn't seem to have a way to specify text content from external file. Moreover, QML does not have any API to read a local file.
Does anyone have any workaround idea? Copy-paste HTML content into QML code works but it's ugly and hard to maintain.