Questions tagged [qtwebengine]

QtWebEngine integrates the chromium rendering engine into Qt.

QtWebEngine integrates the Chromium rendering engine into Qt. Since QtWebKit was marked as deprecated in Qt 5.5, QtWebEngine is now the main web platform for Qt applications development.

QtWebEngine is only available for Qt 5.4 and newer. The list of supported platforms is yet restricted.

Qt official documentation is here

Project homepage

485 questions
3
votes
1 answer

Build QtWebEngine 5.9.1 with proprietary codecs

We need to support to mp4 file in QtwebengineView. So we are trying to build qtwebengine of Qt 5.9.1 on msvc2015 x64, with proprietary codecs, by using following command at cmd with working directory is qtwebengine in…
hetal agrawal
  • 53
  • 1
  • 1
  • 8
3
votes
4 answers

Can I build chromium with ffmpeg to support all video formats?

Under version Qt5.2, I used QtWebView, it can call third-party extensions automatically to support video formats such as avi, mpeg, mov and flv. But when I upgraded to Qt5.10 and changed QtWebView to QtWebengineView, it worked differently and I…
Ray
  • 61
  • 1
  • 1
  • 4
3
votes
1 answer

Obtain cookies as dictionary from a QWebEngineProfile

Title explains it all really. Would like to know how to get the cookies of a QWebEngineProfile as a dictionary of their names and values or in a json format. I am using PyQt5.
Kermit
  • 329
  • 6
  • 19
3
votes
3 answers

How to make macdeployqt change the library names inside QtWebEngineProcess.app when it copies over QtWebEngineCore framework

Edit: using Qt 5.9.1, installed with Homebrew Following a comment in this other question, we are trying to use macdeployqt to prepare the distribution of the OSX bundle of a Qt based application. This tool is correctly copying over all Qt…
Ad N
  • 7,930
  • 6
  • 36
  • 80
3
votes
1 answer

QWebEngineView - Load html from resources

I'm currently playing around with QWebEngineView in Qt 5.8 and I would like to load an index.html file from my .qrc file. My .pro file looks like this: TEMPLATE = app TARGET = Launcher QT += webenginewidgets CONFIG += c++14 SOURCES +=…
TorbenJ
  • 4,462
  • 11
  • 47
  • 84
3
votes
2 answers

QWebEngineView crashes immediately especially after scrolling - Qt5.8

I'm trying out a simple QWebEngineView example but it keeps crashing and I have no idea why. Here's the code in main.cpp #include #include int main(int argc, char *argv[]) { …
Zeyad Obaia
  • 686
  • 1
  • 6
  • 21
3
votes
1 answer

PyQt WebEngine set http headers

I want to port my app from Qt WebKit to Qt WebEngine. In Qt Webkit I can set http headers by using QNetworkRequest, but in Qt WebEngine, the doc says: Qt WebEngine has its own HTTP implementation and cannot go through a QNetworkAccessManager I use…
bestren
  • 89
  • 11
3
votes
2 answers

Web Engine in Qt

I have installed the new community version of Qt 5.8 using the Windows installer. Kits for mingw MSVC++ 2013. I have the compilers for msvc++ 2013. I have checked the webengine option too. I was looking to make a simple browser in qt webengine and I…
Midhun
  • 3,850
  • 1
  • 23
  • 26
3
votes
1 answer

Qt 5.6 webengine display local HTML file

I am trying to learn qt webengine, I downloaded qt 5.6 and looked at example on how to display simple web page. But now I want to learn how to display an HTML page that's store locally. I've seen few example like this one: How do I display local…
Stan R
  • 31
  • 1
  • 2
3
votes
1 answer

How to catch and handle QtWebEnginePage content changing?

In Qt's (now deprecated) QWebPage class, there was a signal contentsChanged() that was called whenever the html content of the web page was changed by either the user editing the page or the page being programmatically changed. There doesn't seem…
SpencerB
  • 85
  • 7
3
votes
0 answers

QT5.7 webengine how to set Notification.permission to granted?

Now ,I found the qt webengine window.Notification.Permission default value is denied, how to set this value to "granted"?
gaoyuping
  • 31
  • 2
3
votes
4 answers

Unable to get mp3 support with QtWebEngine

I built QtWebEngine 5.7.1 from git sources to get support of proprietary codecs. I wrote "WEBENGINE_CONFIG+=use_proprietary_codecs" to the qtwebengine.pro. While qmake was configuring the project, I saw the log saying that MP3 et H264 codecs were…
3
votes
1 answer

Qt find word function with QWebEngine

I create a simple web browser with Qt 5.7 and the webEngine. I would like to create an search function to find word in webView but I don't really know how make interaction between web content and Qt ( I'm new on Qt, I do this for fun and to improve…
M.Duchemin
  • 63
  • 6
3
votes
1 answer

Simulate mouse click for QWebEngineView

I want to write a program to automate testing the web size for different screen sizes. I create window using QWebEngineView and I need to simulate user mouse to click and drag a drop elements in web page. I have tried qApp->sendEvent and…
L.V.A
  • 174
  • 3
  • 11
3
votes
1 answer

How can I call in a sync manner C++ methods from JS (QtWebEngine)

Is there a way I can call my C++ methods from JS in a sync (instead of async) manner? (I'm using QtWebChannel). If there is not, can I at least use async/await without transpiling?
alexandernst
  • 14,352
  • 22
  • 97
  • 197