Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21559

Qt assistant fails to open .pdf

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.7.3
    • Fix Version/s: 4.7.0
    • Component/s: Tools: Assistant
    • Labels:
      None
    • Environment:
      Linux (CentOS release 5.7)
    • Commits:
      9e7aa36606bf8f407a3d9169e2253c550624f678

      Description

      I am not able to view PDF files included in a help collection. When I press links to the files, nothing will happen. The problem appears to be that launchWithExternalApp() in helpviewer.cpp will assume a PDF can be opened internally, and therefore do nothing, but the calling code is not actually able to display it.

      If I apply the attached patch, everything works better in that launchWithExternalApp() will not recognise the file as one the assistant can open, and thus pass it to an external application so that it will actually be displayed. It is, however, not 100% clear to me whether this is the way PDFs are supposed to be displayed, or the Qt assistant itself is supposed to be able to handle them.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            heimrich Karsten Heimrich
            Reporter:
            toralf.lund@pgs.com Toralf Lund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes