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
0
votes
2 answers

Getting QtWebKit working in Qt creator

I have installed the Qt SDK and I am trying to make a basic web browser using their supposed QtWebKit though it's not in the include list and I am not sure how to include the relevant header/includes to get this show on the road? Build error:…
Kal
  • 2,239
  • 6
  • 36
  • 74
0
votes
1 answer

Use openssl 1.0.0 with Qt 4.8.3 on Mac

When I use openssl 0.9.8 with my qtwebkit-based application built with Qt 4.8.3, I got a lot of ssl errors. If I use openssl 1.0.0, there are no errors. However, Mac only comes with openssl 0.9.8 and 0.9.7 by default. No openssl 1.0.0 is included in…
Stephen Cheng
  • 964
  • 2
  • 11
  • 24
0
votes
0 answers

How to use QWebView as Stand alone JavaScript engine?

In my current project, we were using c++, QT, QTWebview. Complete business logic resides in JavaScript which was loaded into the .exe/.app using QWebView. Native OS logic resides in C++. The to and fro communication from C++ to Javascript is heavy…
Engineer
  • 227
  • 2
  • 19
0
votes
1 answer

QWebFrame load() not sending cookies upon initial page load

I am using QtWebkit to implement a browser in C++/Qt. When I open a new tab in it with a QWebView instance and load a URL using load() the page loads normally, but when it's a site where I'm logged in using cookies, it'll appear as though I'm not…
MayaPosch
  • 315
  • 8
  • 20
0
votes
1 answer

How to debug websockets with Qtwebkit

Is it possible to debug websockets in a application that was made using Qtwebkit? I've activated the Qtwebkit debugger, but I can't find some tab like the one included in Chrome inspector that's call "network" and filter it by websockets... Despite…
Santi Agüero
  • 3,143
  • 8
  • 27
  • 39
0
votes
1 answer

Can I port a C++ project to QT and then use QTWebKit to create a HTML5 front end?

please bear in mind I am not a GUI programmer. As the title says but to give a little more details: I have a very large C++ application which I would like to upgrade the GUI for. There is an SDK that we can attach a new GUI onto and I would like to…
Stefan
  • 3,669
  • 2
  • 32
  • 43
0
votes
0 answers

Why are ajax reponse times so different with different browsers?

I found that the ajax response times were very different using different browsers. The server (mongoose) was running locally so network issues are excluded. These are my findings: Firefox 11-23ms Chrome 6-130ms Safari (webkit) 1004-1020ms Maxthom…
clemens
  • 422
  • 2
  • 12
0
votes
1 answer

Qt QWebView network timeout values and signals

How can a QWebView be configured to lower network timeout values - so that in the event of the network failure the loadFinished(bool ok) signal can be reached sooner, obviously, with a false value and an appropriate error condition set? Bonus points…
qdot
  • 6,195
  • 5
  • 44
  • 95
0
votes
2 answers

How to make QWebView conserve return values from modal windows?

What makes this small browser app fail to return the window.returnValue given in the modal window? The Qt Browser demo does make it work, but I can't figure why it does and this mini browser app doesn't. #include #include…
speakman
  • 936
  • 9
  • 11
0
votes
1 answer

SSL errors with QtWebkit on https sites on Ubuntu

I am building a qtwebkit-based browser application on Ubuntu 12.04 LTS. When I use it to access https websites, I got a lot of ssl errors. For example, when I access www.paypal.com, I got this message: SSL Errors for:…
Stephen Cheng
  • 964
  • 2
  • 11
  • 24
0
votes
1 answer

Should Backbone.js work with a version 533.3 Qt WebKit browser?

I have a website based on Backbone, Underscore and jQuery. It works fine in a Qt WebKit browser version 537.1 from Qt 4.8.1 (built as a standalone using Qt Creator). But in version 533.3 (which is what's shipped with Maya 2013), the Backbone model's…
Almo
  • 15,538
  • 13
  • 67
  • 95
0
votes
1 answer

How to call slider move event from QT

I'm trying to call a Javascript/JQuery slider event -in an HTML file that I use as my WebView- from QT via evaluateJavaScript by using a horizontal slider, I have a function that is called as a SLOT to the SIGNAL of valueChanged(int). I have…
sm90901
  • 245
  • 5
  • 17
0
votes
2 answers

How to detect a click on a form reset button from QtWebKit?

Looking at the signals in the QtWebKit API, I failed to find anything that would seem to me to be what I am looking for. QWebView linkClicked() seems to be the closest, but a reset button is no link, and definitely does not point to an…
Gallaecio
  • 3,620
  • 2
  • 25
  • 64
0
votes
1 answer

QPrinter doesn't print more than once

In my application I have a method for users to convert a report to a PDF document. This works perfectly - once. If the user clicks the button again, the conversion hangs. This is my code: def print_report(self): web = QtWebKit.QWebView() …
Andy
  • 49,085
  • 60
  • 166
  • 233
0
votes
1 answer

Npapi Plugin not detected in demobrowser of QtWebkit

I am a newbie to StackOverflow and QtWebkit as well. I have written a very basic Npapi plugin which has functions like NP_GetMimeTypeDescription and Np_Initialise etc for Mimetype application/basic-plugin and Mimetype description…
Techtotie
  • 33
  • 5