The QWebEngineView class provides a widget that is used to view and edit web documents
Questions tagged [qwebengineview]
322 questions
0
votes
1 answer
pyqt5 qwebenginview doesn't autoplay youtube videos
I am trying to use Qwebengineview to view a list of youtube videos but the browser doesn't autoplay the videos, I am using PyQt5 5.13.1 Python 3.6
here is a sample code
from PyQt5.QtCore import QUrl
from PyQt5.QtWebEngineWidgets import…

Mohamed Yousof
- 725
- 1
- 9
- 38
0
votes
1 answer
QWebEngineView how to disable pinch-to-zoom
I'm running a Qt 5.9.4 app with QWebView on a touch linux device displaying HTML webpages.
When users pinch their fingers on the screen, they zoom into the webpage. I want to disable that behaviour, because all the webpages should be 100%…

AJ Cole
- 169
- 2
- 13
0
votes
0 answers
Loading a part of the webpage in qt/qml
I want to load just one part of the webpage(e.g. login button of my webpage) in my personal computer application which is written by Qt(version: 5.12.4) but I couldn't find anything which can help me to do this. I think it should have one solution…

HRZ
- 98
- 7
0
votes
0 answers
PyQt5 GUI scaling issue and pointer misaligned when adding QWebEngineView
I'm developing a GUI that embeds a web browser using QtWebEngineView. Whenever I add it, a scaling issue comes up. The pointer is not aligned correctly, and everything becomes fuzzy.
I have already looked at the problems referenced here, however I…

geistmate
- 525
- 2
- 5
- 14
0
votes
1 answer
Get Download file Name from a javascript dilog in QWebEngine QT 5.13.0
I use QWebEngine to view a website, there is a download popup window show up and i need to download it a folder i set i use this code,
this to get any signal of a download file
ui->widget->load(QUrl(ui->lineEdit->text().trimmed()));
QWebEnginePage…

user7179690
- 1,051
- 3
- 17
- 40
0
votes
0 answers
QWebEngineView runJavaScript executed repeatedly
I am trying to implement the displaying of a web page in Qt.I add one buttoon ,when clicked,update the new html content,and Re-execution the js,but when clicked 2 times,Popup execute 2 times,when clicked 3 times,Popup execute 3 times, I think, it…

gg1999m882
- 1
- 1
0
votes
1 answer
QWebEngineView show page only upon javascript script finish
I'm developing a C++ Qt application with a web view.
This is what I'm trying to do: I want to show a webpage (I don't have control on it, so I cannot modify it but I'm sure on what this page do, so don't worry for unexpected behavior) to the user,…

rok
- 2,574
- 3
- 23
- 44
0
votes
1 answer
PyQt5 window.close() does no close the window but window.open() works fine
I'm using PyQt5 QWebEngineView to show a website on the window that supports basic functionalities like opening a new window.
My code works fine for window.open() but for window.close() function on a webpage it removes the reference to the window…

Adi
- 11
- 3
0
votes
0 answers
No name 'QWebEnginePage' in module 'PyQt5.QtWebEngineWidgets'
I am using Windows 10, Python 3.7, PyQt 5.12, VSCode "
from PyQt5.QtWebEngineWidgets import QWebEnginePage "Importing this line does not throw any error but I am getting a warning line "No name 'QWebEnginePage' in module 'PyQt5.QtWebEngineWidgets'"…

Jaba
- 25
- 7
0
votes
0 answers
Opening browser tabs in the same window on QWebEngineView. Referer is not sent. How to configure?
When clicking on any site when clicking on a link with target="_blank" ... In the program, the page opens in the same window, but the Google Analytics counters see such a transition is not correct without a referrer. It seems like a direct approach.…

yong
- 3
- 2
0
votes
0 answers
How go full screen with QWebEngineView (PySide2) without crash?
Has anyone managed to get PySide2 (v5.12) successfully go full screen on QWebEngineView via fullScreenRequested command?
Every time I am executing the command Python 3.72 crashes. I also tried with 3.6 and receive similar result.…
0
votes
0 answers
Safe to enable LARGEADDRESSAWARE in 32bit Qt5 app?
Does anyone knows if it's safe to set LARGEADDRESSAWARE on a 32bit application using Qt-5.6 and Qt WebEngine?
I mean, I believe qt normally should be able to handle those large address spaces, right?
Thanks,
Mont3z.

mont3z
- 85
- 7
0
votes
1 answer
How to change QML WebEngineView URL error page
I'm using WebEngine in QML. Is there a way to change what gets displayed when there is a bad URL? It currently says something like:
This site can’t be reached
The webpage at qrc:/blahblah.html might be temporarily down or it may have moved…

Paul DeRocco
- 403
- 3
- 15
0
votes
0 answers
PyQt5 handle parallel QWebEngineView page loadings?
I have tried some suggestions on the net but couldn't succeed yet. Not sure if it is possible but will explain what I am trying to achieve.
I have a MainWindow which has the following method. And a button initializes three instances of browser…

freezer
- 531
- 1
- 11
- 28
0
votes
2 answers
Qt - QLineEdit doesn't update the page and URL
I've got a small problem with my web browser project. Whenever I enter the URL address (via QLineEdit), the browser doesn't show the page, and whenever I change the page (via click on-site with starting page included) the address doesn't show up on…

s4ilor
- 29
- 3