Skip to content

Reintroduce QmlLinker

Louis Schul requested to merge work/html_reload into master

This adds back the QmlLinker to link QML and the WebEngineView html page.

QmlLinker was previously removed by this MR, because at this time I (wrongfully) thought that they were useless overhead. It was replace by WebEngineView.loadHtml() which is both overkill and quite laggy once the note becomes large enough and uses code highlighter.

This fix the issue, the parser is still C++ and the linker are just here to change either the content or the css style. WebEngineView.loadHtml will still be used, but only at the very start to be able to pass the correct url.

This is the first step to try to make the reload more responsive.

Merge request reports