Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.13.0 Beta3
-
None
-
Qt 5.13.0 Beta 3 VS 20017 64bit
Description
According to https://bugreports.qt.io/browse/QTBUG-50556 WebEngine should show PDFs with PDFium since 5.13. However, when pointing a QWebEngineView to a PDF, only a white page is shown.
Minimal Example Code:
#include <QApplication> #include <QWebEngineView> int main(int argc, char *argv[]) { QCoreApplication::setOrganizationName("XXX"); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); QWebEngineView view; view.resize(800, 600); view.setContextMenuPolicy(Qt::NoContextMenu); view.setUrl(QUrl("https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf")); view.show(); return app.exec(); }
Attachments
Issue Links
- resulted in
-
QTBUG-76314 Embedded PDFs do not work and are causing crashes on Windows
- Closed
-
QTBUG-76329 Chromium extensions (e.g. PDF viewer) are deactivated in Linux packages
- Closed
-
QTBUG-75892 Document PDF Viewing Feature
- Closed