Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QML WebView, plugins and content type
SteveKing last edited by
This is the first time that I've tried using WebKit code, and I'm stuck with how to get the WebView to start a different viewer for certain link contents. For example if the source html contains <a href="hyfile.foo" type="application/my-foo"> I would like to pop up my "foo" editor when the user clicks the link.
I've tried adding a plugin factory into the WebView but this only seems to work if the html has <object> type in it.
As you can probably tell my knowledge of html and WebKit is minimal so any tips would be good.