Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Instantiation of an object of class QPrinter leads to crash
mourad_bilog last edited by
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 ?
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".