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
1 answer

PyQt4 new modul

I want to do some things with the PyQt4 framework. So I decided to do some browser like thing. Here is the code. Its just simple: import sys from PyQt4 import QtGui, QtCore, QtWebKit class MainWindow(QtGui.QMainWindow): def __init__(self): …
JonnyPython
  • 121
  • 1
  • 2
  • 9
0
votes
1 answer

While downloading a file from a website using python and webkit getting HTTP Error 500: Server Error

I am trying to download file from the website www.nsf.gov. In the browser, first I have to make a search request.Then, I have to click on the export file option to download the file. If, I try to do it manually,first I have to paste the url of the…
user2284140
  • 197
  • 1
  • 4
  • 18
0
votes
1 answer

How to forge request using createRequest by subclassing QNetworkAccessManager?

I would like to download the dynamic generated image from a website. The website is has javascript code and click button to turn to previous image and next image. I inspected the http request and response in chrome. The request is almost the same…
Treper
  • 3,539
  • 2
  • 26
  • 48
0
votes
1 answer

QWebview - Reopen closed window

I'm developing a basic web browser in QT5 (IDE Qt Creator 2.6.2). If I click on a link\anchor with target: Test or execute an event that opens a pop-up (onclick, onmouseover, onkeydown,…
Protomen
  • 9,471
  • 9
  • 57
  • 124
0
votes
1 answer

Setting CSS style through web pages and QWidgets

I'm creating a Qt application with some web pages loaded on QWebViews and also some plain QWidgets, all inside a QMainWindow. Both the webpages and widgets are going to have some checkboxes here and there, and I'd like them to look the same. Well,…
Alex Machado
  • 1,171
  • 1
  • 12
  • 22
0
votes
1 answer

PyQt4 QWebView external resource content

class Browser(QWebView): def __init__(self): QWebView.__init__(self) self.loadFinished.connect(self._result_available) self.loadStarted.connect(self._load_started) self.page().frameCreated.connect(self.onFrame) …
artyomboyko
  • 2,781
  • 5
  • 40
  • 54
0
votes
3 answers

Running webkit2png from a php script works in Terminal, but not in browser

I have a following php script -
Ivan Vashchenko
  • 1,214
  • 2
  • 11
  • 19
0
votes
2 answers

Why does QWebFrame::evalutateJavaScript do nothing in this case?

I'm calling QWebFrame::evaluateJavaScript in one place in my code and it has no effect. However, if I replace this call with the setTimer(0) call and will call the original function when this timer times out it works. How do I know if it works or…
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
0
votes
1 answer

Is there any way to optimise/configure QtWebKit to increase JavaScript/rendering performance?

We're creating a Qt app which is basically a QtWebKit window for viewing a web application. The web application's frontend is written in ExtJS and it is running very slowly in some parts (e.g. some screens with multiple grids or complex layouts). My…
user1578653
  • 4,888
  • 16
  • 46
  • 74
0
votes
1 answer

Get HTML title with QTWebkit

I'm using this code: QWebView *view = new QWebView(this); QUrl *app_path = new QUrl(path); view->load(*app_path); view->show(); QWebFrame *frame = view->page()->mainFrame(); QWebElement dom_title = frame->findFirstElement("title"); QString…
jviotti
  • 17,881
  • 26
  • 89
  • 148
0
votes
0 answers

simple browser application starting development

I want to create a simple browser but want to use visual studio for making development process easy as I am more comfortable with it. I tried to find a stable webkit browser layout engine library for NET, but the other projects are either not…
Chaturvedi Dewashish
  • 1,469
  • 2
  • 15
  • 39
0
votes
1 answer

Qt WebKit handle checkbox checked

I need to handle checked state of checkbox in QWebView (QWebPage). More details: There are some checkboxes in HTML. We want to make changes in application when some of them are checked. To do that, we need to know when did it change. How to do it?
0
votes
1 answer

How to set cache drive on network for QWebView caching

I am using QWebView to display my web content, I wanted to setup cache capability for my webview for that I wanted to set cache drive, but I dont have enough memory available at my client side, how can I give some folder location located at my…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
1 answer

QGraphicsWebView incorrectly expands horizontally with unused white bars (window.outerWidth >> window.innerWidth)

I'm using a view hierarchy of QMainWindow > central widget > QVBoxLayout > QGraphicsView (800x600 fixed) > class deriving from QGraphicsScene > QGraphicsWebView (800x600) When I load a jQuery Mobile powered HTML file and use the horizontal slide…
AndiDog
  • 68,631
  • 21
  • 159
  • 205
0
votes
1 answer

using QtWebkit headless in Qt GUI app

i need to use Qtwebkit functions in GUI application but i do not want to view the webkit in my GUI app. the main function is to render HTML to pdf . i know i can do it with QtWebkit headless.
user63898
  • 29,839
  • 85
  • 272
  • 514