Questions tagged [qtwebkit]

QtWebKit provides a Web browser engine that makes it easy to embed content from the World Wide Web into your Qt application.

QtWebKit provides a Web browser engine that makes it easy to embed content from the World Wide Web into your Qt application. It provides facilities for rendering of HyperText Markup Language (HTML), Extensible HyperText Markup Language (XHTML) and Scalable Vector Graphics (SVG) documents, styled using Cascading Style Sheets (CSS) and scripted with JavaScript.

In Qt5 Qt WebKit Widgets provides a Web browser engine that makes it easy to embed content from the World Wide Web into your Qt application. At the same time Web content can be enhanced with native controls.

QtWebKit is based on the Open Source WebKit engine.

QtWebKit is marked as deprecated in Qt 5.5 and considered for removal in future releases of Qt. It is advised to use Qt WebEngine for development of new applications.

646 questions
85
votes
6 answers

Project ERROR: Unknown module(s) in QT: webkitwidgets

I am porting code from qt4 to qt5. I added the following line to my .pro file, as suggested: QT += webkitwidgets However, when I run qmake, I get the this error: Project ERROR: Unknown module(s) in QT: webkitwidgets I am developing on Ubuntu 12.04…
user1251007
  • 15,891
  • 14
  • 50
  • 76
32
votes
3 answers

QWebView or QWebEngineView

Are there any functional differences between QWebView and QWebEngineView? If I understand correctly, QWebView is webkit, while QWebEngineView is blink. Are there any differences to the programmer? Does one offer more customization of look & feel…
graywolf
  • 7,092
  • 7
  • 53
  • 77
32
votes
6 answers

Headless browser with full javascript support for java

I have been using HtmlUnit (the developers did a great job) as an headless browser for some of my previous applications but the javascript support isn't working for some website that my next application will be accessing. I heard about QtWebKit…
John
  • 1,699
  • 5
  • 20
  • 29
29
votes
2 answers

PhantomJS compile with WebGL

I am trying to compile PhantomJS to add WebGL. Apparently it is possible because of: post on groups.google.com post on trac.webkit.org However, I have no idea how to do this. I have looked in all the configuration for compiling and I tried and…
charly
  • 956
  • 13
  • 23
19
votes
4 answers

Can I use homebrew's qt5 with capybara-webkit?

I want to use qt5's QtWebKit with capybara-webkit. brew uninstall qt Uninstalling /usr/local/Cellar/qt/4.8.4... brew install qt5 This formula is keg-only: so it was not symlinked into /usr/local. /usr/local/Cellar/qt5/5.0.2: 3103 files, 140M,…
Jared Beck
  • 16,796
  • 9
  • 72
  • 97
18
votes
3 answers

QT5 QWebView linker errors

Right now I'm just trying to get 'www.google.com' to load in a webview when a button is pressed. After I added the webview in the designer the linker starts going crazy. I'm using QT Creater 2.6.1 with QT5 on Windows 7. I added the QT += 'webkit…
Bobdabear
  • 335
  • 1
  • 3
  • 12
17
votes
3 answers

How to tell QWebPage not to load specific type of resources?

How to tell QWebPage not to load specific type of resources like js, css or png?
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
16
votes
4 answers

How to know when a web page is loaded when using QtWebKit?

Both QWebFrame and QWebPage have void loadFinished(bool ok) signal which can be used to detect when a web page is completely loaded. The problem is when a web page has some content loaded asynchronously (ajax). How to know when the page is…
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
15
votes
4 answers

Cannot open include file: 'QWebView': No such file or directory

I have followed the instructions on the following page: http://qt-project.org/wiki/Open_Web_Page_in_QWebView I added QT += webkit in my pro file and ran qmake, then clean all and compile again. I still get: error: C1083: Cannot open include file:…
Dimo
  • 3,238
  • 6
  • 29
  • 46
15
votes
2 answers

CSS3 equivalent to width:calc(100% - 10px)

I'm searching for an alternative to migrate my CSS - already working on FF and Chrome -, because QtWebKit it's not rendering some CSS3 feature yeat. I have the following stuff: .fit { width: -moz-calc(100% - 10px); width: -webkit-calc(100% -…
Ragen Dazs
  • 2,115
  • 3
  • 28
  • 56
15
votes
1 answer

WebView Google Maps panning/dragging in Qt5

I'm currently porting an application from Qt 4 to Qt 5 and experiencing some problems with the WebView QML element. I can successfully load a Google Maps webpage into a WebView, however the page only responds to single or double-clicks; attempting…
boing
  • 181
  • 1
  • 6
13
votes
1 answer

Unknown module(s) in QT: webkit

Added QT += network webkit and I tried just QT += webkit to the .pro solution file and ran qmake from inside the QtCreator and got this error: error: Unknown module(s) in QT: webkit I really need to make use of these includes: #include…
Kal
  • 2,239
  • 6
  • 36
  • 74
12
votes
2 answers

QWebView / Qt WebKit won't open some SSL pages; redirects not allowed?

Clean install of Qt SDK 1.1.4 on Windows 7 with Visual C++ 2008 SP1; I'm using Qt Creator. Why does this code not load some web pages? #include #include int main(int argc, char *argv[]) { QApplication…
James Johnston
  • 9,264
  • 9
  • 48
  • 76
12
votes
2 answers

wkhtmltopdf: Is it possible to merge PDF files?

Using this library wkhtmltopdf, is it possible to merge 2 pdf files. I need to generate a report and merge the report with some attached documents. Generation of report is done, converting from HTML to PDF. But I need to merge the resulting PDF…
user1236048
  • 5,542
  • 7
  • 50
  • 87
11
votes
1 answer

How to get detailed error message when QTWebKit fails to load a page?

QtWebKit calls QWebPage::loadFinished ( false ) when a web page failed to load - but gives no clue as to why it failed. How do I get a detailed error message, like HTTP response code or other message?
Blake Scholl
  • 921
  • 1
  • 7
  • 10
1
2 3
43 44