PDA

View Full Version : Starnge error while painting



nish
13th March 2008, 16:20
Hi all,

We are working on an application which includes a lot of drawing code. There are thousands of unique elements being drawn on specific parts of the screen.

When we try to draw one of those items, we get the following error:

Debug Error!
File: global\qglobal.cpp
line: 2016
ASSERT: "pd!=0" in file text\qfont.cpp, line 49

Every other element drawn is working fine. Can somebody please highlight as to what could be causing this error. Any help or insights will be highly appreciated.

Thanks.

wysota
14th March 2008, 00:58
Could you provide some source code we could work with?