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

QT Maximizing QGraphicsWebView in QMainWindow

I need to use QtWebKit with CSS 3D support, that's why i used QGraphicsWebView and QGLWidget, the code looks like this: MainWindow.hpp: #include #include #include #include class…
Regalis
  • 71
  • 6
0
votes
1 answer

Measure HTTP request load time using QNetworkAccessManager

I'm trying to implement simple webprofiler using QtWebKit (by extending Ghost.py). I need to measure when each HTTP request started and finished. I can use finished signal from QNetworkAccessManager to get when request ended, but how do i know when…
jazgot
  • 1,943
  • 14
  • 25
0
votes
3 answers

Problem loading a specific website through Qt Webkit

I am currently using the following PyQt code to create a simple browser: import sys from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtWebKit import * app = QApplication(sys.argv) web =…
Thierry Lam
  • 45,304
  • 42
  • 117
  • 144
0
votes
1 answer

QtWebkit javascript bridge,Cannot access Qt object methods

Using QtWebkit's javascript bridge, I have created a class to interface the data in my web frame with the rest of my Qt code. it recognises the object, but none of its methods. mainwindow.cpp code: #include "app.h" MainWindow::MainWindow(QWidget…
david.yan
  • 1
  • 1
0
votes
1 answer

How to stretch/shrink HTML Page to fit in QWebView window

I am using QWebView to render a html page using setHTML method. In the html page body section I am mentioning width and height for the html page, if we are changing the width and hegiht of the QWebView window at run time by calling…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
1 answer

How to catch Plugin errors in QWebView

I am using QWebView to load websites which has adobe flash(e.g. youtube videos). so that QWebView interacts with Adobe flash player plugin already installed in my machine, but in case if there is any error occured within plugin , then how to catch…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
1 answer

database access issue in qt webkit

I have an HTML file that is loaded as a WebView in my Qt MainWindow and the file is located on the localhost XAMPP folder. The file basically takes two date and time intervals from the user and when the user clicks the Fetch queries button, map…
bremmS
  • 277
  • 1
  • 6
  • 13
0
votes
1 answer

QtWebKit not rendering Japanese (Shift_JIS charset)

I have an HTML file which I want to load in a QWebView. The header looks something like: The body text is mixed Latin and Japanese characters. The page…
sam-w
  • 7,478
  • 1
  • 47
  • 77
0
votes
1 answer

qtwebkit pass data back to python

using python qtwebkit, how can i get data off a page for further processing in python? basically, i want to execute some javascript (which is easy enough in qtwebkit via frame.evaluateJavaScript()) and then have the resulting string returned to…
hackerhasid
  • 11,699
  • 10
  • 42
  • 60
0
votes
1 answer

QWebPage - Getting a list of resources / Verifying page loaded with no errors

I am loading a webpage in PySide. I want to be able to see if it has loaded successfully without errors. If I get an error, then I want to know about it. I can not simply use the "success" parameter to the load finished signal, as it seems to…
Dave Butler
  • 1,646
  • 1
  • 12
  • 18
0
votes
1 answer

Print out webview

How can we print out what an webview contains? i tried something like : view.page().currentFrame().toPlainText() but it didn't work PS: my webview contains an evaluation of a javascript function , so i suppose toHtml() won't do the job any…
user1319236
-1
votes
1 answer

PySide.QtWebKit.QWebFrame load method with incorrect parameters

I'm trying to play with a chess online playing site crawler available in this github link: https://github.com/Rseiji/ChessCommentaryGeneration (a fork I created from the original repo) It uses Python2 and PyQt4, whose module QtWebKit4 is no longer…
Rafael Higa
  • 655
  • 1
  • 8
  • 17
-1
votes
1 answer

Trouble With PyQt4 Web Kit. Button dosent connect to function

-PyQt4 -Python 3.4.2 ive had a look through many different questions here and done research online. Basicly what has happened is that when i click on the Reload button nothing happens. Even when i tried to get it to print('Reload') nothing appears…
-2
votes
2 answers

Qt: make a browser which can download

I am making a browser in qt and i wanted to know how to make it download/save files. Thanks in advance.
Andrew
  • 165
  • 4
  • 16
-2
votes
1 answer

OnDemand images are missing (http://www.flipkart.com and www.cnn.com)

I am trying to convert the below mentioned website to PDF, but the ondemand images are missing in the converted PDF. Can you please let me know, any tweaks or tricks that acquire images in the output PDF. Already i tried giving the javascript…
George
  • 71
  • 11
1 2 3
43
44