SOS!!! The built-in pdfviewer is not working properly! SOS!!!
-
Run the demo simplebrowser.exe, the pdf can not be load success, it appears that the page is not responsive and cannot scroll。 use devtool check the pdf_viewer.js line 459 error, line 464 and after Never executed!
what happened? Why chrome.resourcesPrivate is undefined?
My Qt is 5.15.1, chromium is 80,
and test on chrome version 80, the chrome.resourcesPrivate is ok, the page also properly
May QtWebengine or chromium compilewith Incorrect configuration?The content of html demo is as follows:
<!DOCTYPE html> <html> <head> <title>Title</title> <style> html, body { width: 100%; height: 100%; overflow: hidden; margin: 0; padding: 0; } iframe { width: 100%; height: 100%; overflow: auto; } </style> </head> <body> <iframe src="./test.pdf"> </iframe> </body> </html>
-
but you are in linux or other so? for linux need to download system package library .... think libQt6pdf....... or similar .... because pdf viewer is 3th party non free .....