https://github.com/develtar/qt-pdf-viewer-library

Qt PDF Viewer Library

The qt-pdf-viewer-library is a qml wrapper of pdf.js library which allows you to render PDF files in a WebView. This library also works for Android devices, and it uses WebSocketServer, WebSocketTransport and WebChannel to exchange data between qml and the browser environment. For more info check the repository page: https://github.com/develtar/qt-pdf-viewer-library import it.ltdev.qt.qml.components 1.0 as LTDev ApplicationWindow { ... property int x: 12 LTDev.PdfView { id: pdfView anchors.fill: parent onViewerLoaded: { // Load pdf only when viewer is ready pdfView....

January 9, 2023 ยท 1 min