The QWebEngineView class provides a widget that is used to view and edit web documents
Questions tagged [qwebengineview]
322 questions
1
vote
1 answer
How to run JavaScript code before document is fully loaded with QWebEngineView?
I would like to evaluate JavaScript before page's document is constructed and its scripts evaluated, in essence emulating Page.addScriptToEvaluateOnNewDocument of Chrome Devtools Protocol.
I tried to evaluate the JS code on loadStarted and…

hldev
- 914
- 8
- 18
1
vote
1 answer
How to wait for scripts to finish after QWebEngineView().loadFinished?
I'm trying to render an HTML file as a PDF with PyQt5. Unfortunately, my HTML page loads slow, but I couldn't find a way to wait for it to load. My question is this; How can I make PyQt5 wait for a couple of seconds, after resuming the execution? Or…

Ozgur O.
- 97
- 9
1
vote
0 answers
ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
I create a simple Qt project(built with msvc-2017 kit) to test QWebEngineView:
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
QWebEngineView * view=new QWebEngineView();
view->load(QUrl("https://www.google.com"));
…

William
- 761
- 2
- 10
- 27
1
vote
1 answer
How to get QWebEngine in QT Designer
I am trying to make a program for captioning youtube videos because they removed the community captions functionality last year. I want to be able to use the QWebEngine widget when in QT Designer but it isn't part of the main distribution and I…

M Town
- 11
- 1
- 4
1
vote
0 answers
QWebEngineView crash render after while, show black and white screen
I am using QWebViewEngine to load url from socketio-flask app. Here is my code using python:
class WebEnginePage(QWebEnginePage):
def acceptNavigationRequest(self, url, _type, isMainFrame):
if _type ==…

HoangWeb
- 51
- 2
- 4
1
vote
1 answer
Protobuf: Serialize/DeSerialize C++ to Js
I'm using protobuf to send/receive binary data from Cpp to Js and vice-versa and I'm using QWebChannel to communicate with the HTML client.
Question: How to deserialize binary data in cpp which is serialized and sent from Js?
Following I…

Akshay R
- 47
- 6
1
vote
1 answer
Why my PyQt5 Webview Code is not working?
This is my code. Why its not working?
Where is my problem?
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.Qt import *
from PyQt5.QtWebEngineWidgets import *
from PyQt5.QtWidgets import QApplication
class Ui_Form(object):
def…

py.ino
- 15
- 3
1
vote
0 answers
Bet365.com is not loading in QWebEngineView
class MyWebEngineUrlRequestInterceptor(QWebEngineUrlRequestInterceptor):
def __init__(self, parent=None):
super().__init__(parent)
def interceptRequest(self, info):
print("interceptRequest")
…

Ivan
- 11
- 2
1
vote
1 answer
How would someone grant permission to the capture audio from microphone feature using Qt WebEngineView
I am using the WebEngineView QML type to render a locally hosted web page which uses the WebRTC HTML media audio capture feature on Qt 5.15.1 (Which is listed among the features available to WebEngineView.
The web page is hosted locally using an…

mike510a
- 2,102
- 1
- 11
- 27
1
vote
2 answers
Closing QWebEngineView warns "Release of profile requested but WebEnginePage still not deleted. Expect troubles !"
I made the PlotlyViewer class shown below to display a Plotly graph, and it works correctly but shows this warning when I close it: Release of profile requested but WebEnginePage still not deleted. Expect troubles !
The warning started happening…

pyjamas
- 4,608
- 5
- 38
- 70
1
vote
1 answer
How to get and set the value of monaco editor in Python Qt?
I am using an instance of the monaco editor in Python Qt (Pyside2) using QWebEngineView similar to how it's shown here:
How to embed basic HTML page using Qt?
I can edit the code just like in monaco editor. But how can I call functions to get and…

Joan Venge
- 315,713
- 212
- 479
- 689
1
vote
1 answer
How to embed basic HTML page using Qt?
I am using PySide2.QtWebEngineWidgets.QWebEngineView() to setHtml on it to show a basic page like below.
This html file works fine in a browser because it has all the files in the same folder relative to the html file.
Once I setHtml to the below…

Joan Venge
- 315,713
- 212
- 479
- 689
1
vote
1 answer
QWebEngineView - Allow local Store in the Browser
I'm trying to implement a web browser to see the web page 'https://earth.google.com/web'.
The browser works fine.
The browser save my google user, so when I start a new sesion, I don't have to put my google user, for using my settings.
My problem…

RBenet
- 171
- 1
- 10
1
vote
0 answers
QWebEngineProfile downloadRequested doesn't get invoked
I want to download some files with QWebEngineProfile but the downloadRequested Signal is not getting called on a certain website. I tried to use linkedClicked but I didn´t find this signal. Here is a cutout of my code:
class…

FunProgramer
- 47
- 4
1
vote
0 answers
PyQt5 - QWebEngineUrlRequestInterceptor for server respons content
For developing my browser application, I have installed a QWebEngineUrlRequestInterceptor, so I can filter the URLs being reuquested. I would like to now be able to have a similar thing but for the server response content ie a theoretical…

SamG101
- 488
- 1
- 7
- 18