Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Invalid
-
Affects Version/s: 5.13.0 Beta3
-
Fix Version/s: None
-
Component/s: WebEngine
-
Labels:None
-
Environment:Qt 5.13.0 Beta 3 VS 20017 64bit
-
Platform/s:
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
-