Important: Please read the Qt Code of Conduct -

QML WebView, plugins and content type

  • Hi,

    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="" 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.


Log in to reply