Need Help: new KHtmlPart crashes app

Koos Vriezen koos.vriezen at xs4all.nl
Tue Jun 3 16:51:10 BST 2003


On Tue, 3 Jun 2003 Jan.Kaiser at OnVista.de wrote:

> int main(int argc, char* argv[])
> {
>   KApplication a(argc, argv, "test", false, false);
>   cout << "created KApplication" << endl;
>   KURL url = KURL("http://www.kde.org/index.php");
>   cout << "created KURL" << endl;
>   KHTMLPart *w = new KHTMLPart(); // this crashes

You might want to look at kdelibs/khtml/testkhtml.cpp for a simple usage
of KHTMLPart.

Good luck,

Koos




More information about the kfm-devel mailing list