Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QWebPluginFactory creating objects



  • The problem is: (if I get it right from QWebPluginFactory docs)
    when creating plugins QtWebkit uses <OBJECT>'s type attribute which contains predefined mime type.

    Is there way to make QtWebkit browser create plugin based on classid attribute regardless of mime-type logic?

    In other words, it should create and load plugin when it meets following tag: @<OBJECT classid="some-class-id">@

    where some-class-id uniquely match my "QObject" that exports desired class members to browser's window object.

    Thanks for help.


Log in to reply