[Qt-interest] windows XP problems

Richard Moore richmoore44 at gmail.com
Sun Jan 29 15:15:06 CET 2012


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.



More information about the Qt-interest-old mailing list