I was able to get VR3 working with Qt6, but I had to switch to using a QTextBrowser instead of a QWebEngine, since Qt6 doesn't yet have a QWebEngine class. These changes work with Qt5 as well, but the result isn't satisfactory because the QTextBrowser isn't using the css stylesheet for display. When I export to the browser, the rendering is correct, but not in the Leo panel.
I'm wondering if this isn't about stylesheets being in separate files and the QTextBrowser not finding them. One difference is that with the QWebEngine, we had
w.setHtml(s, url_base)
but with the QTextBrowser, that method does not take a url_base parameter. Since stylesheet paths are relative paths, without the url_base, maybe the QTextBrowser can't find them.
Does someone know how to handle this situation?