Questions tagged [qtwebview]
28 questions
0
votes
0 answers
whatsapp web loading issue for QWebEngineView under pyside6
So i have ask this question a few days ago the issue is that i have changed the user agent for the browser and it works as it can load whatsapp,but the issue came back whenever i refresh or logout from whatsapp web.i have a video(link) and code with…

101 Wizard
- 1
- 1
0
votes
0 answers
How to disable Qt5 Webview navigation bar
When I use the Qt Webview example, I want to disbale the navigation bar.
But I don't know how to close it.
Anyone can help me ?
Thank you very much
The Qt Version is : 5.15.8
The Webview Example is Webview Example

Yin Lei
- 51
- 4
0
votes
1 answer
QWebEngineView does not find some libraries which are installed
To solve a display problem I was suggested to use QWebEngineView.
I inserted
from PyQt5.QtWebEngineWidgets import QWebEngineView
in the script which when executed emits:
from PyQt5.QtWebEngineWidgets import QWebEngineView
ImportError:…

Ryan Day
- 113
- 1
- 8
0
votes
1 answer
macdeployqt does not copy the QtWebView plugin
I could not find a way to inform macdeployqt that I need QT_ROOT/qml/QtWebView/libdeclarative_webview.dylib to be copied into the app bundle. This is needed to use native QtWebView in QML (configured with QT_WEBVIEW_PLUGIN=native). Is there a way to…

Volodymyr Lashko
- 656
- 6
- 19
0
votes
0 answers
QWebView not rendering all the website information
I have a piece of code that renders an HTML file into a QWebView object.
This is the code:
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
# create web browser for the map
…

Santi Peñate-Vera
- 1,053
- 4
- 33
- 68
0
votes
1 answer
How can I directly input HTML code in QtCore.QUrl without referring to file path?
I am building an app in Python using PyQt5 and I am going to freeze it. Therefor I would like to have my python code independent from any local file path.
At some point I am loading an html code…

Carlo Bianchi
- 115
- 4
- 15
0
votes
1 answer
Project ERROR: Unknown module(s) in QT: webkitwidgets issues
I'm using Qt 5.7.1 and I have problem with undefined QtWebView. I have found and download from the link - https://github.com/annulen/webkit/releases
qtwebkit_tp4_qt57_msvc2015_x86.zip and copy the content of the archive to C:\Qt\5.7\msvc2015. Now it…

Cobra91151
- 610
- 4
- 14
0
votes
1 answer
How to get coordinates of selected word on QWebView
mighty All,
I have selected the word by QWebPage::SelectNextWord().
I just exec the code:
ui->webView->page()->triggerAction(QWebPage::SelectNextWord);
The question is: how to define coordinates of blue rect of selected word,
any method which…

user3899825
- 1
- 1
0
votes
0 answers
PyQt load page - check error ErrorPageExtension
I am trying to load a static html page but I get load page as false.
(This works locally but not inside docker container).
The file loadProgress is 100% but I get OK signa as false indicating there is an error loading the page.
I am trying to use…

user2608576
- 747
- 2
- 7
- 17
0
votes
1 answer
How can I copy a webpage in qwebkit?
Lets say I have two qwebview widgets .lets call it W1 and W2, I then set the urls with
W1->setUrl("someUrlHere");.
Both pages has separate css files.
Then I'll change the background on some element in w1 with…

LxNol
- 1
- 2
0
votes
0 answers
Getting response from external web page displayed with Qt
I have a situation where I want to bring up a web page that the user will interact with, and when they click on a submit button a response is sent, and I want to get that response in my Qt program and then destroy the view with the page. I am able…

Larry Martell
- 3,526
- 6
- 40
- 76
0
votes
1 answer
QtWebEngine : Load URL with HTTPPost
I'm porting an internal browser from QtWebKit to QtWebEngine.
I want a function to request url while posting some data.
With WebKit, I could use the following:
With class WebView derived from QtWebView :
void WebView::loadPostUrl(const QUrl &url,…

ruddy
- 135
- 4
- 12
0
votes
1 answer
How to load an url of self certified https nodejs server inside QWebView
Running nodejs https local server with self certified key for testing.
Load https://localhost:8888/index.html inside QWebView of QT Application.
QWebView shows no content.

Janarthanan
- 1,651
- 3
- 12
- 15