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

Printing is crashing in GDI32.dll StretchBlt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.6, 5.7, 5.8, 5.9
    • GUI: Printing
    • None
    • Windows 2012 R12 and the "HP Universal Printing PCL 6 (v6.3.0)" printer driver.

      QPainter crashes only if the HP-Printer driver is used.

       

    Description

      QPainter used on an QPrinter is crashing in the function painte.end() if the function drawImage is used:

      QPrinter printer(QPrinter::HighResolution);
       QPainter painter;
       painter.begin(&printer);
       painter.drawImage(0,0,<image>);
       painter.end();   <= crash
      

       

      Attachments

        1. qt5-fix-getdc.patch
          1 kB
          Jerome Jerome
        2. qtbug66325.diff
          1 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              johnlayt John Layt
              jerome99 Jerome Jerome
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes