[QScintilla] qscintilla debug

Phil Thompson phil at riverbankcomputing.com
Tue Sep 21 09:36:50 BST 2010


On Tue, 21 Sep 2010 09:45:49 +0800 (CST), 秦攀科 <qinpanke at 163.com> wrote:
> But it will be right when I use the release lib and dll.

No it won't. The assert is disabled in the release builds which means that
you don't get the debug message, but the bug is still there.

Phil

> So......
> Could you tell me, how can I get the debug lib and dll?Thanks.
> 在 2010-09-20 17:06:50,"Phil Thompson" <phil at riverbankcomputing.com> 写道:
>>On Mon, 20 Sep 2010 10:51:55 +0800, 秦攀科 <qinpanke at hotmail.com> wrote:
>>> Hi,
>>>     I' d like to get the debug lib and dll of qscintilla(use in window
>>>     with VS2008). So I modify the qscintilla.pro :
>>>                                                 CONFIG += qt warn_off
>>>                                                 debug dll thread
>>>     Is that right? And I get lib and dll in debug folder.But when I
use
>>>     the dll and lib in debug model(VS 2008) , occur Dubug error:
>>>                                                  Module:4.5.2
>>>                                                 
File:global\qglobal.cpp
>>>                                                  Line:2030
>>>                                                  ASSERT failure in
>>>                                                 
>>QFont::setWeight:"Weight
>>>                                                  must be between 0 and
>>99"
>>>     anybody can help me?Thanks.
>>
>>So it looks like you have a bug in your code...
>>
>>Phil
>>


More information about the QScintilla mailing list