Questions tagged [qwebengineview]

The QWebEngineView class provides a widget that is used to view and edit web documents

Documentation

322 questions
0
votes
1 answer

How to capture the image rendered by QWebEnginePage::view?

Thank you to see:When Dialog has hide, the QPixmap is empty,why??? and This way is too inefficient...help me
Jony Kong
  • 16
  • 2
0
votes
1 answer

How to open QWebEngineView in a new window when a table cell is clicked?

I am trying to open a Url in a QWebEngineView window when a QTableWidget cell is clicked. The code for opening the QWebEngineView works from 'main' but somehow it doesn't work when called from the subclass of QWidget. A window appears for a split…
0
votes
0 answers

Python : about pyqt5 QtWebEngineWidgets How to kill Qt Qtwebengineprocess process

In main-windows I have built a browser to show the web and four button ,when click the second button a new browser will show ,at the same time the process:"Qt Qtwebengineprocess"will show in Task Manager.when I closed the new browser this process…
0
votes
1 answer

In pyqt5 browser Createwindows cannot update the url in urlbar

I use Pyqt5 to bulit an easybrowser,in the webpage,most link will built a pop-up window to show new webpages,so I add the code:def createWindow(self, QWebEnginePage_WebWindowType): but en issue was followed:new webpage can not update the url in…
0
votes
1 answer

QWebEngineView: Timers do not function when visible

I was attempting to implement the code from this question, but I have discovered that QTimer does not fire under certain circumstances. The simplified code: app = QApplication([]) view = QWebEngineView() view.show() def callback(): …
Dragon
  • 173
  • 10
0
votes
1 answer

QWebengineView: open local file with id

I am using Qt WebEngine 5.14 on Manjaro Linux. I want to open local html file with id, but the following code is not working. It says file is not found. Here is code: #include #include int main(int argc, char…
cges30901
  • 470
  • 3
  • 10
0
votes
0 answers

QWebEngineUrlRequestInterceptor - get headers

I'm handling requests by installing QWebEngineUrlRequestInterceptor. That works fine but QWebEngineUrlRequestInfo doesn't have headers() property. I'm only able add new header by QWebEngineUrlRequestInfo::setHttpHeader. I have googled for solution…
Dibo
  • 1,159
  • 17
  • 34
0
votes
0 answers

QWebEngine - how to catch execution of any javascripts from C++?

I know how to communicate between C++ and Javascript in Qt WebEngine from this tutorial: https://myprogrammingnotes.com/communication-c-javascript-qt-webengine.html But that is a case when I'm the author of loaded page so C++ and HTML parts are…
Dibo
  • 1,159
  • 17
  • 34
0
votes
1 answer

Embedded Qt WebEngine security risk

In my QT application, I need to download certain data. This data is protected and users need to Login to the website to download the data. In order to allow users to login, I display the Login Page of our website using QWebEngineView. The user…
0
votes
1 answer

How get raw answer data in QWebEngineView?

Next examples work on small html pages, but dont work if page return big html data or json I try this after loadFinished signal view->page()->toHtml([cc](const QString &result){ qDebug() << "result ready"; qDebug() << "result…
Kopkan
  • 150
  • 11
0
votes
1 answer

how to solve Pyqt5 create web browser when load html crash

I created a web browser by PyQt5 ,if I load url="http://www.google.com" have nothing issues,but if I load url = "http://192.168.0.106/get.html" ,run the code, the widgets crash. from PyQt5.QtCore import * from PyQt5.QtGui import * from…
Baren
  • 69
  • 1
  • 8
0
votes
1 answer

How to load an HTML page in Qt5 WebEngineView using utf-8 encoding?

I have an html page, which I am loading into my Qt5 application using QWebEngineView like this: QWebEngineView* webEngineView = new QWebEngineView(); webEngineView->setUrl("index.html"); I use UTF-8 characters in my html file, such as "…" (#x2026;…
wyaneva
  • 23
  • 5
0
votes
2 answers

How to ignore SSL certificate errors with QWebEngineView

How can I ignore and enable/disable SSL certificate errors through C++ in QWebEngineView? I found that QWebEnginePage has the virtual method certificateError but it is not accessible through QWebEngineView?
Daniel
  • 459
  • 6
  • 16
0
votes
1 answer

Incorrect rendering of Javascript by PyQt5 QWebEngine

I'm building a browser using PyQt5. It's a rather huge code, but this is the main problem I'm facing. The code is this: import sys from PyQt5.QtCore import QUrl from PyQt5.QtWebEngineWidgets import QWebEngineView from PyQt5.QtWidgets import…
Nobody
  • 53
  • 11
0
votes
2 answers

How to set a background image in QWebEngineView

I'm using QWebEngineView from QtWebEngineWidgets to display an image and I want to make it as a background image. But it does not show anything. How can I do that? I also try QWebView from QtWebKitWidgets but it still does not work. Here's my code: …
Nuh Yamin
  • 55
  • 6