bobo1993324 / pdfjsViewer

pdfjs wrapped in QML for Ubuntu phone
1 stars 1 forks source link

WIP: switch to Webengineview #8

Open Danfro opened 4 years ago

Danfro commented 4 years ago

To reduce the number of commits add changes done by @jonnius with #7 and furthermore add WebEngineview.

With WebEngineView the app does start, if some properties from Oxide are disabled.

Sadly I can not open pdf documents. That always throws javascript errors that I could not overcome.

Errors are: js: Uncaught (in promise) TypeError: Cannot read property 'set language' of undefined

js: Uncaught TypeError: PDFJS.getDocument is not a function

js: Uncaught TypeError: Cannot read property 'numPages' of null

In agreement with @jonnius we want to present the work we have done so far, hoping it may help with further development.