QPrint error or QPainter error ? (QWin32PrintEngine)
Solved
General and Desktop
-
Hi everyone,
My application crash after a moment (5-10 hours) when a draw for preview and print into pdf.
The error have obtain is:
QWin32PrintEngine::metric: GetDeviceCaps() failed, might be a driver problem ASSERT: "hdc" in file qwindowsnativeimage.cpp, line 74 createDIB: CreateDIBSection failed.
Here it crash at QPlainTextDocumentLayout::draw(QPainter *, const PaintContext &).
I use qt5.3.0 on windows 10 32bits.
Can anyone help me please ?
regards.
-
Hi,
You might want to start by using a more recent version of Qt.
-
Testing with a more recent version will allow you to know if it was a bug fixed and then you can investigate to see if you have to something to back port to your Qt version.
-
Testing with a more recent version will allow you to know if it was a bug fixed and then you can investigate to see if you have to something to back port to your Qt version.