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

Printing 20x slower in 5.4.1 compared to 5.3.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      Windows 10, MSVC 2013 64bit
    • Commits:
      d797a04adc5a76146ecff36e17b2a8658b0a5022

      Description

      • Run example program
      • Choose "Microsoft Print to PDF" or any other non-QT print driver
      • Wait for timing results

      4 seconds in QT 5.3.1
      95 seconds in QT 5.4.1+

      The slowness depends on the drawing calls. Drawing lines is 25% slower, while drawing arcs is 2000% slower.

      This bug is a show stopper for our software, which prints 25+ pages regularly. Printing time has increased from 45 seconds to 30 minutes in some cases.

        Attachments

        1. main.cpp
          1 kB
        2. QT_print_speed_bug.zip
          68 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                johnlayt John Layt
                Reporter:
                jeffmoyer Jeff Moyer
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes