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

QPrinter::ScreenResolution causes nothing to be printed when printing to a PDF file on Mac

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0 RC 2
    • Fix Version/s: 5.0.2
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      Mac OS X 10.7 - Cocoa
    • Platform/s:
      macOS
    • Commits:
      7203e88084a313fb6e7a96b9080f965e3ffcd89f

      Description

      QPrinter::ScreenResolution causes blank pages to be printed when printing to a PDF file on Mac.

      To reproduce modify the textedit example and change the line:

      QPrinter printer(QPrinter::HighResolution);

      in filePrintPdf() to be:

      QPrinter printer(QPrinter::ScreenResolution);

        Attachments

        For Gerrit Dashboard: QTBUG-28709
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes