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

QPrinter constructor always initialize communication with default printer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • GUI: Printing
    • None
    • Windows

    Description

      Constructing a QPrinter object, internally forces use NativeFormat in QPrinterPrivate::init and QPrinterPrivate::initEngines looks for a default printer which ends up calling "ps->createNativePrintEngine(printerMode, printerName);" which with some drivers may popup a dialog for communication with default printer when not reacheable (case with Brother printer).

      It happens in QPrinter constructor, so even when QPrinter::PdfFormat is set, the default printer driver is always called.

       

       

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            erict Eric
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes