Bug 44391 - [Qt] QtWebKit does not work without QtGui
Summary: [Qt] QtWebKit does not work without QtGui
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 420+
Hardware: PC Windows 7
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-21 20:11 PDT by snowlock650
Modified: 2010-10-01 03:19 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description snowlock650 2010-08-21 20:11:28 PDT
Hi, I am currently using QWebkit that comes with Qt 4.3.6

For the class QWebPage, the documentation specifically writes that "This class can be used, together with QWebFrame, to provide functionality like QWebView in a widget-less environment." However, when actually doing so, the program complains "QWidget: Cannot create a QWidget when no GUI is being used."

Please let me know if it is the incorrect documentation and I can't use QWebPage in a widget-less environment or there is a bug in the QWebPage? 

Also, for finding version of the Webkit, /src/3rdparty/webkit/VERSION is useless as it simply states it is a snapshot of the git repository with a sha1 sum of b9dcd9c168d9b25deb020837a67f30c2d72c9afb

so I don't know which version to select for in the form above.
Comment 1 Benjamin Poulain 2010-10-01 03:19:18 PDT
Widgetless does not mean no Qt GUI. You still need the Gui for to get the fonts for example.