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

QPrinter: print preview does not produce any PDF file when no default printer is specified - Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 4.5.3, 5.5.0, 5.12.0
    • GUI: Printing
    • None
    • macOS

    Description

      0. Go to System Preferences/Print & Fax.
      Delete all printers.
      List displays "Click + to add a printer or fax". Do not do so. Leave the list empty.
      1. Launch qt/examples/richtext/orderform (or any other print-capable example).
      2. File/Print...
      The Print dialog appears, with "No Printer Selected".
      3. Click Preview button.
      BUG: Print dialog closes without generating a preview PDF.
      Expect: PDF file with preview appears.

      Contrast Qt's PDF behavior with /Applications/TextEdit.app. TextEdit.app, even when no printer configured, successfully produces a preview PDF.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              sanonymous Nokia Qt Support (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes