QtWebkit: console application
问题 I am new to Qt. I am building a console application and I need to process lot of real world html pages. QtWebkit comes as an easy choice because of clearly cut APIs and easy availability. I checked out the docs and they say that I can load pages by using QWebView::load(). But I am building a console application and I cannot use a widget. I get the error as: ? QWidget: Cannot create a QWidget when no GUI is being used The program has unexpectedly finished. So how can I process the html pages