andy24
6th October 2006, 04:42
Howdy All.
I'm trying to get at some form data on HTML pages in
a dedicated data collection environment where there
is no display.
It would be very convenient to use the KDE DOM
methods as well. It seems like a natural choice.
However, even very simple programs like this
int
main(int argc, char *argv[])
{
QApplication *qa = new QApplication(argc, argv, false); // attempt non-gui operation
KHTMLPart *html = new KHTMLPart();
}
error out with:
QPixmap: Cannot create a QPixmap when no GUI is being used
Can I really not access the DOM and HTML parsing routines without a window?
If so, does anybody have a sense for how hard that might be to "fix"??
Finally, alternate suggestions are quite welcome!
Thanks!
Andy
I'm trying to get at some form data on HTML pages in
a dedicated data collection environment where there
is no display.
It would be very convenient to use the KDE DOM
methods as well. It seems like a natural choice.
However, even very simple programs like this
int
main(int argc, char *argv[])
{
QApplication *qa = new QApplication(argc, argv, false); // attempt non-gui operation
KHTMLPart *html = new KHTMLPart();
}
error out with:
QPixmap: Cannot create a QPixmap when no GUI is being used
Can I really not access the DOM and HTML parsing routines without a window?
If so, does anybody have a sense for how hard that might be to "fix"??
Finally, alternate suggestions are quite welcome!
Thanks!
Andy