[Qt-interest] problems using QWebView/QUILoader
Kavindra Palaraja
kdpalara at trolltech.com
Thu Mar 19 13:39:47 CET 2009
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.
More information about the Qt-interest-old
mailing list