Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. SOS!!! The built-in pdfviewer is not working properly! SOS!!!
Forum Updated to NodeBB v4.3 + New Features

SOS!!! The built-in pdfviewer is not working properly! SOS!!!

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 2 Posters 474 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rebotman
    wrote on last edited by rebotman
    #1

    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?1.png 2.png

    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>
    
    1 Reply Last reply
    0
    • gfxxG Offline
      gfxxG Offline
      gfxx
      wrote on last edited by gfxx
      #2

      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 .....

      bkt

      R 1 Reply Last reply
      0
      • gfxxG gfxx

        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 .....

        R Offline
        R Offline
        rebotman
        wrote on last edited by
        #3

        @gfxx The OS is Windows 11 22H2

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved