No, the API shouldn’t have changed... I may have made a mistake somewhere, 
though. Can you test the code with older release? 

”Note: The plugin factory is only used if plugins are enabled through 
QWebSettings.” is this true for you?

Other part of the message, I didn’t really understand how it correlated with 
that class...

On keskiviikko 01 joulukuu 2010 01:34:51 Zhongmiao Li wrote:
> I'm using 4.7.1 beta 3, the latest version of
> QtJambi and the detailed usage has been described in Qt 4.5 API Document.
> And in QtJambi Doc it is described that
> 
> For 
> plugins()<http://doc.troll.no/qtjambi-4.5.0_01/com/trolltech/qt/webkit/QWebPluginFactory.html#plugins()>
> it
> is necessary to describe the plugins the factory can create, *including a
> description and the supported MIME types*. The MIME types each plugin can
> handle should match the ones specified in in the HTML <object> tag.
> 
>  But I really have no idea about how to do that. Is the structure or method
> changed? Thanks very much!
> 
> On Wed, Dec 1, 2010 at 1:04 AM, Samu Voutilainen <[email protected]> wrote:
> 
> > On keskiviikko 01 joulukuu 2010 00:54:49 Zhongmiao Li wrote:
> > > Hi, everyone,
> > >
> > >
> > > I'm now implementing QWebPluginFactory to load custom plugins.
> > > As the Qt API Doc shows,
> > >
> > > plugin.mimeTypes.append(pdfMime);
> > >
> > > the class *Plugin *in Qt  has a class variable called  *mimeTypes*, which
> > > indicates the type of the *Plugin *.
> > > However in QtJambi, I can not find the similiar variable or "*setM**
> > > imeType()*" Method from *QWebPluginFactory_Plugin(the correspoiding class
> > > of **Plugin  *
> > > *in QtJambi)*.
> > > So why "*mimeTypes*" disappears and what should I do?
> > > Thanks very much!
> > >
> > >
> >
> > What Jambi version are you using? Are those methods in Nokia’s old 4.5.2
> > Javadoc present?
> >
> > _______________________________________________
> > Qt-jambi-interest mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
> >
> 
> 
> 
> 

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to