Quantcast
Channel: QtWebEngine
↧

[[qanda:topic_unsolved]] Proper way to display local images in QtWebEngineView?

I'd give an example of proper loading local images from PyQt or PySide, in my case images should be within the folder structure of the running script. self.webPage.setHtml('<img...

View Article


[[qanda:topic_unsolved]] What's the future look like for QtPDF

@Christian-Ehrlicher Ok, thanks. I'll post there.

View Article


[[qanda:topic_solved]] What are the units of QPdfDocument::pageSize?

I broke down and asked on SO, where user Mike dug into the source (which I guess I should've done). Long story short, the size returned by pageSize() is in points, and a little further research...

View Article

[[qanda:topic_solved]] QWebEngineView displaying a 3D BabylonJS scene is...

Hello, We are using a QWebEngineView, wrapped in a light Qt Widgets 5.12.10 app, to display a 3D scene from BabylonJS served thanks to a NODEJS server. The thing is: when we are using the software...

View Article

[[qanda:topic_unsolved]] Disable or change default QtWebEngine styling

Hi all I would like to disable the QtWebEngine styling and use the default html.css provided by Chromium. At first I thought removing the defaultFontFamily behavior in WebEngineSettings::initDefaults...

View Article


[[qanda:topic_solved]] QWebEnginePage print pdf in Landscape

I made a little mistake. This CSS code in my html file caused this problem. @page { size: 8.27in 11.69in; margin: 0.86in; }

View Article

[[qanda:topic_unsolved]] iframe content not loading on QT 5.9.1

@ppmm any other webengine flags can also be set via an env variable, also described on the link i've posted... Beside that: you can pass these parameters as simple arguments to the calling application....

View Article

[[qanda:topic_solved]] Need startSystem Move and startSystemResize method,...

Temporarily use QWebEngineDownloadItem to achieve download

View Article


[[qanda:topic_unsolved]] Can't load page.

There's a line in the error log with... "source: https://" Are you browsing to a secure webpage? Do you have SSL installed? if ( QSslSocket::supportsSsl() ) { qDebug() << "SSL support found" ;...

View Article


[[qanda:topic_unsolved]] QWebEngineView - handshake failed; returned -1, SSL...

Is this possibly related? libnssckbi.so is not in the 5.13 directory structure. https://github.com/clearlinux/distribution/issues/1843 In Qt 5.13...

View Article

[[qanda:topic_unsolved]] js: Uncaught ReferenceError: xxx is not defined

There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to make sure it is available in your current script or scope otherwise , it will endup throwing...

View Article

[[qanda:topic_unsolved]] with the networkaccessmanager class how do I...

@AI_Messiah You need to install OpenSSL support.

View Article

[[qanda:topic_unsolved]] Joystick events not working with Qt5.15 QML...

Hi All, I am working on embedded product where we have used buildroot. In old SW we have QT4.8 version & we used QT widget based chromium browser for rendering GUI. There we used LinuxInput to map...

View Article


[[qanda:topic_unsolved]] load() and seturl() not updating page

@JonB just found out an interesting thing. It might be a problem inside my code. If I go for webengineview->load() before my core computing it works like a charm, however if I call the method...

View Article

[[qanda:topic_unsolved]] Why iframe triggered...

@dscyw I'm facing the same issue. Have you found a solution?

View Article


[[qanda:topic_unsolved]] How do I extract a QImage from a QWebEnginePage or...

What I mean is keyboard and mouse events. Is there a way to pass in keys and the current mouse location and mouse buttons. Also is there a way to extract audio information.

View Article

[[qanda:topic_solved]] QtWebEngine / QML module not found (but installed)

Hmm, migrated to 5.15.2 from 5.15.0 and it started to work .. both used MSVC2019_64bit .. not really sure what happened but I'm moving forward now. Thanks.

View Article


[[qanda:topic_unsolved]] boundsBehaviour like Flickables?

Hi guys, Florian from UBports, we are doing the Ubuntu Touch mobile OS. Our browser is based on QtWebEngine, and its a really great experience so far. Thanks for all the work! One detail is now...

View Article

[[qanda:topic_unsolved]] WebEngine Widgets Simple Browser Example - Local...

I am working on a project similar to -> WebEngine Widgets Simple Browser Example I'd like to implement somenthing to clear the Local Storage? You can help me please?

View Article

[[qanda:topic_solved]] QT WebEngine 5.9.x - Cross Compile i.MX6

After years of not getting an answer to my question, I finally managed to resolve the matter myself. So for all the folks out there facing the same issue, the solution is as simple as dumb: You need to...

View Article

[[qanda:topic_unsolved]] QtWebEngine for apple M1

Hello, I'm working on getting my track fully native (aka universal2) on Mac. I'm with Qt 5.15.2. So I compiled Qt twice: once for x86 and once with the -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64...

View Article


[[qanda:topic_solved]] Accessing local storage on a web page

@TonyN Can you provide a working code to do that?

View Article


Image may be NSFW.
Clik here to view.

[[qanda:topic_unsolved]] QWebEngine isn't loading one site

Hi, First of all, this is my first post here. Hopefully it's in the right category. While building my browser for training purposes, I came across a problem which is that there are sites that don't...

View Article

[[qanda:topic_unsolved]] Handle Media Session API

Hi. Web pages can expose Media Session API, it is using for lock screens notifications and also for changing playing status directly on the page....

View Article

[[qanda:topic_unsolved]] No suitable graphics backend found

Hello My English is not weel. I need some help,like title. I use QWebEngineView on Linux Arm Qt5.12 Thanks.

View Article


[[qanda:topic_unsolved]] Porting to a new platform

I realize this question may be too broad for anyone to answer directly, but let's give it a try. QtWebEngine is only supported on Linux, Windows and Mac. I'm interested in building it for QNX. This may...

View Article