Qt 5.15.0 WebEngineView not displaying PDF
I was using Qt 5.14.2 to display local PDF files successfully using WebEngineView. (I'm on CentOS 7)
Then I updated to Qt 5.15.0 and my WebEngineView showed a blank gray screen.
Then I ran an example of WebEngineView provided by Qt 5.15.0 and I got the same blank gray screen. However I got half a dozen error messages like the following one:
"GET chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-error-screen.js net::ERR_FILE_NOT_FOUND"
Am I missing something?
Re: Qt 5.15.0 WebEngineView not displaying PDF
Have you turned on loading plugins and the PDF viewer?
https://doc.qt.io/qt-5/qtwebengine-f...f-file-viewing
Re: Qt 5.15.0 WebEngineView not displaying PDF
Yes I have.
I did a quick test. I ran the qt example quicknanobrowser with qt 15.4 and it displayed PDF fine. Then I ran the same example with 15.5 and I got blank gray screen.
Re: Qt 5.15.0 WebEngineView not displaying PDF
Same here if I use the binaries distributed by the online installer.
My best guess is that the package is missing the resource files that provide the Javascript for the PDF viewer, or that the behaviour is the result of the deprecation warned of in the 5.14.2 version: