Questions tagged [qwebenginepage]

44 questions
0
votes
0 answers

Pyinstallere EXE, PyQt WebEngineView \ WebEnginePage disappear from GUI

I am trying to create an executable (onefile\onedir does not matter) with pyinstaller to show the folium map in GUI. I managed to successfully create the exe. It runs perfectly on the machine where I created it, but when I tried to test it on other…
CLU
  • 23
  • 1
  • 6
0
votes
1 answer

QWebEngineView crashes when accessing specific websites

I have a very weird bug with QWebEngineView. Below is some code which creates a QWebEngineView. import sys from PyQt5.QtCore import QCoreApplication, QFileInfo, QUrl from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import QWebEngineView,…
blunty6363
  • 29
  • 6
0
votes
1 answer

C++ Reference to non-static member function is required

I am making a simple browser using QT5. I have a QMainWindow with a QWebEngineView inside of it and I am trying to make it so that it auto accepts permission requests but I can't seem to get it to work... (Later I will make it prompt the user) I…
0
votes
0 answers

Browser geolocation doesn't work with QWebEngineView

I have a task to implement simple desktop wrapper on QT for our website. Everything works well except for geolocation. Every time browser has to request permission for geolocation usage nothing is happened, geolocation doesn't work. I tried a few…
0
votes
0 answers

How to use a custom cookie to connect to a website using PyQt5?

Just started to try using PyQt5 to scrape product price on Amazon. here is the code to connect to the webpage. However, Amazon tends to display different prices depends on your delivery address (I guess the site get this info from the browser…
0
votes
0 answers

Can I connect Python To JavaScript in PyQt5 QWebEngine?

I've setup a basic PyQt5 GUI window, with a QWebEngine web browser element in the centre, and I'd like a good way to go about setting up the following: I'd like the web browser to show a local HTML file, and when you press a certain button on the…
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
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.…
0
votes
1 answer

QWebEngine header issue

Using QWebEnginePage to download web pages. Works very well but sometimes it doesn't work with certain URLs and appears to be a header issue. I can't figure out what headers to send to not get this error. Header: #ifndef MAINWINDOW_H #define…
bandito40
  • 597
  • 1
  • 5
  • 15
0
votes
0 answers

QtWebEngine cross orgin frame css

Two different behavior when loading the HTML in qtwebengine page using setHtml and in the browser. Cross origin iframe overrides the css of the main div in web engine page.
Akhil Jain
  • 89
  • 1
  • 6
0
votes
1 answer

QWebEngineView and background transparency

I'm using python 3.6.5 and PyQt 5.10.1. I was trying with this simple code to have background transparency and after to add this feature to qutebrowser. https://github.com/Rhylx/browser_bg_transparency But it doesn't work. I have a webpage with a…
0
votes
0 answers

ImportError: libGL.so.1 - PyQt5 on Linux (AWS Elastic Beanstalk)

I have a file scraper.py which imports QWebEnginePage. When I deploy it on aws using eb deploy it cant start the application and quit with following error: Traceback (most recent call last): File "/opt/python/current/app/application.py", line 6,…
Joker
  • 2,304
  • 25
  • 36
0
votes
1 answer

Segmentation fault (core dumped) in pyqt5

I tried to make pyqt5 application with QWebEnginePage rebootable. But got segfault. Here is code sample: import sys from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import qApp #from PyQt5.QtWebEngineWidgets import QWebEnginePage from…
Raj
  • 41
  • 5
0
votes
1 answer

Qt How to get sender of sender signal or how to know loadStarted url of QWebEngineView?

QWebEngineView has signal void loadStarted(). It emits this signal when it received from QWebEnginePage. QWebEnginePage overrides this function from QWebEnginePagePrivate, where it is void loadStarted(const QUrl &provisionalUrl, bool isErrorPage =…
Sacha_D
  • 68
  • 1
  • 10
1 2
3