Questions tagged [qwebkit]

The QtWebKit module, part of the Qt framework, provides a web browser engine as well as classes to render and interact with web content.

150 questions
13
votes
3 answers

How to get path of a python module ( not sys.executable )

I need to get Path for PyQt library in python program. Program is run as a script from another application, therefore my sys.executable = 'D:/program files/visum/exe/visum115.exe and I need my actual python path (and path for PyQt library…
11
votes
2 answers

How can I distribute OpenSSL with my Qt WebKit based application to Windows?

I have a Qt QWebKit based application that needs to use HTTPS to talk to web pages. I have downloaded the QtSDK, as well as the OpenSSL binaries (from here). My problem lies in deploying my application. I have copied the relevant Qt DLL files, as…
9
votes
2 answers

Using QWebEngine to render an image

I'm looking to replace QWebKit with QWebEngine in my headless renderer. I initialise the page with load() and connect a slot to loadFinished() to generate the final .PNG image. This used to work fine with WebKit but fails with QWebEngine. Code is…
Richard Adams
  • 591
  • 1
  • 9
  • 23
7
votes
0 answers

Qt with webRTC how to implement

I need to transfer live desktop screen data(like remote desktop) to a client application a browser, and user can view remote desktop in browser, I am thinking of implementing it with webRTC and Qt. the webRTC data channel I can use to transfer the…
CodeDezk
  • 1,230
  • 1
  • 12
  • 40
7
votes
1 answer

How to display web content [the right way] on iOS and Android using QML

I'd like to develop and release a Qt/QML app on iOS and Android, using Qt 5.5, and I'm trying to figure out a way to display simple web content (like the Facebook login page) in my QML app. What I find really confusing is the fact that there are…
BastiBen
  • 19,679
  • 11
  • 56
  • 86
7
votes
4 answers

How to get QWebKit to display image?

Okay, I have a Qt executable in the same directory as a file logo.png. I call the following: QString msg(""); webView->setHtml(msg); where webview is the QWebKit pointer However, when I execute the…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
7
votes
1 answer

Print error on page (qtWebkit)

Bug in Qt5.2.1: The only problem was corrected in QPrintPreviewDialog but when the print is printed on paper the failure still exists. With QPrintPreviewDialog pages work perfect, but on "paper" (printed in paper) from second page (in other words…
Protomen
  • 9,471
  • 9
  • 57
  • 124
6
votes
2 answers

How to get first redirect (301 or 302) event in QtWebKit

we are using QtWebKit 4.7 and want to know when a frame load does a redirect. At the moment we are counting the outgoing requests within a subclass of the QNetworkAccessManager, where we do overwrite createRequest. This works in most cases fine, but…
Dag
  • 10,079
  • 8
  • 51
  • 74
6
votes
2 answers

QWebView doesn't load any external resources if it loads a html-file from qresources

As described in the title my problem is that qwebview doesn't load a html file correctly if it resides in my resources. It loads it perfectly if I load it from outside of the resources as normal local file. But this is not an option for me. I would…
domachine
  • 1,119
  • 1
  • 12
  • 20
6
votes
3 answers

How to follow a link in QWebKit?

Having a DOM of the following html; how to follow a link (href) in QWebKit…
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
5
votes
1 answer

How to read data from QNetworkReply being used by QWebPage?

I use QWebPage to download a webpage as well as all its resources. At the same time I'd like to get hold on raw data being downloaded by Qt during this process. Doing this by reading data from QNetworkReply in void…
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
4
votes
6 answers

how to use QWebPage in a non-GUI application

I want to use QWebPage in a non-GUI Qt application. By that, I mean that I don't want to communicate with the window server at all. Using QtGui is not a problem, though. QWebPage internally creates some QWidget instances. Thus, using…
Albert
  • 65,406
  • 61
  • 242
  • 386
4
votes
0 answers

Deactivate scrolling QWebEngineView

In my projects I'm using QWebView exhaustively to display user information in a pleasant way. In order to deactivate scrolling of my QWebView widget I included the following line: Qt 4.8 QWebView*…
Aleph0
  • 5,816
  • 4
  • 29
  • 80
4
votes
2 answers

Qt 5.6 alpha QtWebEngine. How work with QWebEngineUrlRequestJob?

I have inherited from QWebEngineUrlSchemeHandler. Redefined method requestStarted(QWebEngineUrlRequestJob *request) After I try to call QWebEngineUrlRequestJob::reply for example void CustomUrlSchemeHandler::requestStarted(QWebEngineUrlRequestJob…
Yury Bely
  • 91
  • 9
4
votes
0 answers

DevTools in QtWebEngine?

Has anyone found a way to enable Chrome or Chrome-like DevTools for debugging JavaScript inside of QWebEngine in QT5.4? It seems that this will be available in 5.5 and was available in QtWebKit. Thanks!
Rileys
  • 41
  • 1
  • 3
1
2 3
9 10