[Qt-interest] problems using QWebView/QUILoader

wim.delvaux at adaptiveplanet.com wim.delvaux at adaptiveplanet.com
Thu Mar 19 13:51:25 CET 2009


that previewer example uses the 'include' technique to use the ui file.

I use the dynamic loading (QUILoader.load()) method.  This is not the same 
technique.

W

On Thursday 19 March 2009 13:39:47 Kavindra Palaraja wrote:
> wim.delvaux at adaptiveplanet.com wrote:
> > hi all,
> >
> > I used QWebView as a widget in the designer (4.4.3 version)
> > and use QUILoader to load the ui file.
> >
> > However, when starting, it claims
> >
> > "QFormBuilder was unable to create a custom widget of the class
> > 'QWebView'; defaulting to base class 'QWidget'."
> >
> > However strace shows that
> >
> > "/usr/local/Trolltech/Qt-4.4.3/lib/libQtWebKit.so.4"
> > "/usr/local/Trolltech/Qt-4.4.3/plugins/designer/libqwebview.so"
> >
> > get loaded successfully.
> >
> > I also added the /usr/local/Trolltech/Qt-4.4.3/plugins/designer/ path to
> > the QUIloader usint addPluginPath but to no avail.
> >
> > What am I missing
> >
> > W
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> Hi W,
>
> You can verify if its a Qt problem or a problem in your code, if you try
> to build this example:
> http://doc.trolltech.com/4.5/webkit-previewer.html
>
> The Previewer examples uses a QWebView with a .ui file.
>
> Its available in your QTDIR/examples/webkit folder.
>
> Good luck,
> K.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list