Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Instantiation of an object of class QPrinter leads to crash

    General and Desktop
    2
    2
    391
    Loading More Posts
    • 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
      mourad_bilog last edited by

      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 Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post