PDA

View Full Version : How to use qwebpage in non-gui app



Cykus
9th May 2010, 16:58
Hi
I want to use qwebpage and qwebframe in console app to get page and execute javascript code. it's possible or maybe is other way to do this ?

wysota
10th May 2010, 09:00
Yes, it should be possible.

Cykus
10th May 2010, 09:46
May I please have a help with it? any clue or sample code ?

wysota
10th May 2010, 10:48
Sure, just tell us what the problem is :)

Cykus
10th May 2010, 11:35
ok, i want to use qtwebpage in QCoreApplication or QThread but when i try do this i get "QWidget: Cannot create a QWidget when no GUI is being used"
I don't need qwidget anywhere