You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, March 9th 2005, 6:00pm

Can I add the KDE browser to my QT3 app?

How do you embed the KDE khtml component class into your QApplication QT3 program?

I've successfully added the KDE headers and libs, it compiles but at runtime I think it wants a KInstance or KApplication. But I'm using QApp! What am I doing wrong?

Thanks!
Kobar

This post has been edited 1 times, last edit by "Kobar" (Mar 9th 2005, 6:01pm)


tuxipuxi-

Beginner

Posts: 1

Location: Germany

  • Send private message

2

Wednesday, March 9th 2005, 7:12pm

Embedding KHTML into a Qt application can't easily be done afaik. You might want to have a look at the Qt port of the gecko engine.

Michael.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Wednesday, March 9th 2005, 8:51pm

If you already link against kdelibs, it should be quite easy to replace QApplication with KApplication.

Cheers,
_
Qt/KDE Developer
Debian User