PDA

View Full Version : QWebPluginFactory question



bpetty
15th May 2008, 14:00
Hey guys,

I am writing a demo a test different Qt4.4 WebKit functionality. I have been looking into making my own "plugins" for it. In the demo web browser the guy inherited from QWebPage to added Qt controls to the page. I am too lazy and don't want to do that. I want to use the QWebPluginFactory instead.

It appears like you can only have one plugin factory per QWebPage. Is this true? I may have a skewed interpretation of how the system works. What if my buddy creates a factory lib that does something cool, but I want to display his stuff while being able to display my stuff that is stored in a different plugin factory... it sounds like an issue.

If someone has some experience with this I would be interested in hearing your tales.

jacek
25th May 2008, 01:37
You can always write a plugin factory that aggregates other factories.