Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Instantiation of an object of class QPrinter leads to crash
QtWS25 Last Chance

Instantiation of an object of class QPrinter leads to crash

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 549 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mourad_bilog
    wrote on last edited by
    #1

    Hello everybody,

    I'm updating my Qt 4.3 application using VS. When choosing to print a document the application crashes with the following message ASSERT : "hdc" painting\qprintengine_win.cpp.

    I've found that the bug was reproduced and fixed https://bugreports.qt.io/browse/QTBUG-14048 but I've not how to update this file to resolve the problem.

    Can anyone tell how to proceed ?

    Best regadrs.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Maybe you should first switch to a more recent Qt version? Like 4.8.x or even better to 5.5.1.
      The bug is closed as "Cannot Reproduce".

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved