[Qt-interest] windows XP problems

Doug Stewart doug.dastew at gmail.com
Sun Jan 29 23:08:46 CET 2012


I found it!!!
 in fuzzyeditor.cpp
this->grabMouse();  // --- needed for Linux (Ubuntu) but crashes in windows.


Thanks again for your help.
Doug

On Sun, Jan 29, 2012 at 6:15 AM, Richard Moore <richmoore44 at gmail.com>wrote:

> On Fri, Jan 27, 2012 at 3:32 PM, Doug Stewart <doug.dastew at gmail.com>
> wrote:
> >    ASSERT: "testAttribute(Qt::WA_WState_Created)" in file
> >    c:\ndk_buildrepos\qt-desktop\src\gui\kernel\qwidget_win.cpp, line 871
> >    C:\Documents and Settings\doug\My
>
> Well, you've failed an assertion, which appears to be because you're
> doing something to a window that hasn't yet been created fully. I
> suspect the problem is here:
>
>
> https://code.google.com/p/fuzzy-teaching-demo/source/browse/mainwindow.cpp#31
>
> Try commenting it out, and if that resolves your problem, then call
> set the attribute /after/ the window has been fully created. In
> general the best way to figure out what's wrong in a situation like
> this is to use a debugger to see what the state of the application is
> at the time the assertion is triggered.
>
> Regards
>
> Rich.
>



-- 
DAS

https://linuxcounter.net/user/206392.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120129/53c3db44/attachment.html 


More information about the Qt-interest-old mailing list