KHTML, w t f?
I'm an uber noob at programming in KDE/Qt and it's a bit different from Delphi in Windows but I think I'm getting the hang of it. Anyway, I'm trying to lay down a KHTMLPart onto this form with this code:
Code:
browser = new KHTMLPart(view_box, "browser"); Code:
52: undefined reference to `KHTMLPart::KHTMLPart[in-charge](QWidget*, char const*, QObject*, char const*, KHTMLPart::GUIProfile)' which is straight from KDE 3.1 Reference material and it blew up as well! So weird, I thought this would be easy :rolleyes: |
Looks like you're neglecting to include some header files. Can you post the program that won't compile?
Alex |
I can't at the moment, sorry, but I do believe I had included: khtml_part.h for the main browser widget...I mean is there anything else needed?
|
KHTMLPart
maybe you should add $(LIB_KHTML) to your "automake config" so it can link.
|
Here is some additional code to make the browsing optimal, this information is somewhat hidden in the KDE docs.
Code:
#include <qlayout.h> |
All times are GMT -5. The time now is 01:31 AM. |