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
4
votes
3 answers

Project ERROR: Unknown module(s) in QT: webengine

I have compiled a framebuffer (without x11 and wayland) image for wandboard-quad with Yocto Jethro. I have used the Freescale Community BSP Jethro branch.The image contains most of the Qt 5.5 components and Qt Web Engine. The qmake version is…
Charles C.
  • 3,725
  • 4
  • 28
  • 50
4
votes
1 answer

How can I inject JavaScript file into a WebEngineView page?

I'm adding a script tag to a web page once it's fully loaded in a WebEngineView, but it's silently failing somehow. I inject the script by invoking webview.runJavaScript with this code: var s = document.createElement('script'); s.src =…
WaltPurvis
  • 1,510
  • 12
  • 14
4
votes
3 answers

Allow WebRTC webcam request using when QtWebEngine?

How do I allow WebRTC webcam request using when QtWebEngine (when using QML plugin or not)? webengine.qml import QtQuick 2.1 import QtQuick.Controls 1.1 import QtWebEngine 1.0 ApplicationWindow { width: 800 height: 600 color:…
zabumba
  • 12,172
  • 16
  • 72
  • 129
4
votes
2 answers

How can I get paint events with QtWebEngine?

I extended QWebEngineView. #ifndef MYQWEBENGINEVIEW_H #define MYQWEBENGINEVIEW_H #include class MyQWebEngineView : public QWebEngineView { public: MyQWebEngineView(QWidget *parent = 0); ~MyQWebEngineView(); protected: …
Jin Kwon
  • 20,295
  • 14
  • 115
  • 184
4
votes
0 answers

DevTools in QtWebEngine?

Has anyone found a way to enable Chrome or Chrome-like DevTools for debugging JavaScript inside of QWebEngine in QT5.4? It seems that this will be available in 5.5 and was available in QtWebKit. Thanks!
Rileys
  • 41
  • 1
  • 3
4
votes
0 answers

How to enable the touch interaction with QtWebEngine

I used chromium(Recently use the qtwebengine) and it handle the touch events(Like most mobile browser work) So I used a QtWebEngineView to integrate my web page using Qt 5.4, but I want to integrate the touch interaction(finger swipe to scroll the…
Mils
  • 1,479
  • 3
  • 19
  • 42
4
votes
4 answers

QT 5.4 WebEngine dev tools for javascript

I'm creating an application using QWebEngineView and QWebEnginePage. I was wondering if there is a way to active the Web Dev Tools? I need to debug the html, javascript code like you do it using Google Developer Tool on Chrome. If it is not…
user1185305
  • 875
  • 2
  • 15
  • 26
4
votes
1 answer

Qt Enterprise for IMX6 not using Hardware Acceleration?

We built an application which uses QT WebEngine to test WebGL functionality, it worked however the CPU utilization was very high (>30%) for rendering some sine waveforms, the root file system was provided by QT Enterprise as described here for…
AGV
  • 41
  • 3
3
votes
1 answer

How to open hyperlink with target="_blank" in PyQtWebEngine?

I have made a web browser using pyqt5 and PyQtWebEngine.It works fine but when I click on a hyperlink with target="_blank" then it does not work but how will I fix it. You can view its source code by clicking on this link…
Saptak Bhoumik
  • 127
  • 3
  • 9
3
votes
1 answer

Spell checking in PyQtWebEngine

I am writing a program which is mainly in python but some interactive features are done through a web-app that talks to flask. It would be nice to have the web-app inside the python program so I am looking at using PyQtWebEngine. This works…
3
votes
1 answer

QtWebEngine intercepting request with custom URL schema serving reply

I am trying to rewrite several HTTP requests with a custom URL scheme: All requests to http://static.foo.bar should be rewitten to static://... and serving some reply. Problem: The interception and redirecting seems working, but whatever my…
Maurice Meyer
  • 17,279
  • 4
  • 30
  • 47
3
votes
1 answer

ERROR:permission_manager_qt.cpp(82) Unsupported permission type: 13

I am working on python code (PyQt 5.13) with built-in browser functionality. import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineProfile,…
Asad Seeker
  • 57
  • 1
  • 2
  • 7
3
votes
0 answers

Qt WebEngine can render without xcbglintegrations

I'm working on a Ubuntu 18.04 and Qt 5.12.4. I noticed that the QtWebEngine can draw even though the xcbglintegrations are missing. I'm not sure how the xcbglintegrations are working, if there available the OpenGL context could be intialized. I take…
ThomasL.
  • 83
  • 1
  • 9
3
votes
1 answer

QWebEngineView "Access-Control-Allow-Headers" error while using wrld.js

I want to display a map via HTML/CSS/JS in a QWebEngineView using Qt5 C++. It already works with leaflet (https://leafletjs.com/): As you can see the window shows a map with a marker at a given position. However trying the same with wrld…
breyerml
  • 267
  • 2
  • 14
3
votes
1 answer

How to load javascript step by step with QWebEngineView and qtwebchannel.js?

I'm setting up like a framework who use python in backend and html/css/js for frontend. My problem arrived during the loading of a QWebEngineView. I search on the web how to establish a communication between python and javascript with QWebEngineView…
Florian
  • 61
  • 1
  • 11