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
6
votes
1 answer

Qt web content with MinGW

In newest Qt versions QtWebKit is no longer supported and was replaced by QtWebEngine which is based on Chromium. And Chromium can't be build with MinGW making QtWebEngine unavailable. So, is there any way to use web content with Qt when using MinGW…
TPlant
  • 463
  • 5
  • 15
6
votes
1 answer

Capture server response with QWebEngineView

I'm trying to create a Dialog in Qt which loads a URL (which I do not want to expose to the end-user, hence a Dialog). Once the user has entered their credentials on the page, the server returns a redirect URL which I want to capture. How can I do…
f1zz0_13
  • 495
  • 2
  • 8
  • 19
6
votes
1 answer

QWebView::settings()->setUserStyleSheetUrl() from QtWebKit to QtWebEngine?

I'm upgrading my code from Qt 5.5 to Qt 5.6, but I didn't find a way to port the following code: QWebEngineView *qwebview = new…
6
votes
2 answers

Is there any way to use QtWebEngine without OpenGL?

I'm trying to get QtWebEngine running on a VM and am having difficulties. According to the answer to this question: Eventually I realised that OpenGL 3.3 wouldn't work easily on virtual machines .. yet. I had to boot from ubuntu usb and work from…
Claudiu
  • 224,032
  • 165
  • 485
  • 680
6
votes
1 answer

QML WebEngineView flick content

I'm trying to make a simple web-browser for desktop with Ubuntu 14.04 using QML and WebEngineView component. The application will be working on devices with touchpad so it would be nice to make the content displayed inside WebEngineView flickable.…
6
votes
1 answer

Qt 5.4 beta WebEngineView Debugging

I'm currently working on a VS2013 project which uses Qt 5.4. beta. I use a QWebEngineView (which is part of the Chromium based QWebEngine), which loads Javascript/HTML pages from a webserver. I would like to know if there are any possibilities…
jsmik14
  • 61
  • 2
6
votes
3 answers

How to render PDF using pdf.js viewer in PyQt?

I have tried adding the pdf.js viewer files in my project and it works in browsers like Chrome, Mozilla, Safari, etc, but it's not loading some pages in node-webkit and PyQt webkit. I am trying to load the file using an iframe, like this:
Kantanand US
  • 108
  • 1
  • 1
  • 7
5
votes
1 answer

Using Chrome flags with QtWebEngine (PyQt5)

For the development of my PyQt5 browser project, I read here that by passing Chrome flags as application arguments, they will automatically be passed onto the QtWebEngineProcess.exe when it gets launched by the code. I have tried doing app =…
SamG101
  • 488
  • 1
  • 7
  • 18
5
votes
1 answer

How to import QtWebEngineWidgets after QApplication has been created

I am trying to get around this error: QtWebEngineWidgets must be imported before a QCoreApplication instance is created. It is pretty self-explanatory, but I am trying to make a GUI to be used within iPython which may be imported after a…
pyjamas
  • 4,608
  • 5
  • 38
  • 70
5
votes
1 answer

how Make any link (_blank) open in same window using QWebEngine

I'm developing a web browser in Python PyQt5 using QWebEngine. Everything is working fine but when someone click on the blank targeted link it shows blank. I want to open all type of links in same window. If we right click and "follow link" then it…
Muhammad Azeem
  • 309
  • 1
  • 2
  • 9
5
votes
1 answer

Qt webengine debug version crash

My project uses qt webengine. The release version works fine, but debug version crashes very quickly when I navigate tumblr.com. Error message shown as below. I want to know what's this message about, and how to fix it. Versions: Qt 5.9.4 -…
James Feng
  • 184
  • 1
  • 14
5
votes
1 answer

PyQt5: mouseClick and source-code in QWebEngineView

I have a working script that uses PyQt-5.5.1, which I now want to port to a new PyQt version (5.7). Adapting most of the things was fine, but I faced two major problems: (1) to perform a (simulated) mouseclick, (2) to access (let's say: print) the…
nostradamus
  • 712
  • 12
  • 24
5
votes
1 answer

How can I fill in text (from C++) in an input text field on a web page through QWebEngine?

I would like to wrap a website in QWebEngine so I can adapt input commands using Qt's event filters and perhaps much more. The website in question requires username/email and password, and I would like to make sure I can handle the input of that…
rubenvb
  • 74,642
  • 33
  • 187
  • 332
5
votes
1 answer

Static build of QtWebEngine dependent application

I have an application (audio player for http://vk.com) which uses OAuth 2.0 authorization. What i did was that i implemented QtWebEngineView object and used it to open an authorization page. Basically, it looks like currently i'm using quite a big…
5
votes
1 answer

screen object in JavaScript not available in a QWebEnginePage

I have a Qt application that launches Webviews using QWebChannel. In these views, I have the JavaScript doing some stuff in order to position/resize the window depending on the screen size. The screen object is supposed to give this kind of…
hereismass
  • 223
  • 1
  • 14
1 2
3
32 33