|
From: <pa...@fr...> - 2012-12-05 15:53:53
|
----- Original Message ----- > Greetz, > > Using C++, Qt 4.7, openSUSE 11.4, Valgrind, GCC > > Actually this application runs very fine on Linux, but "crashes" on > Windows if I "move the mouse wheel". > I have NOT written any event for wheel handling in the code. > > How to know whether problem is in my code or not? Well usually in heavily used code like Qt, the error is in the client code. Not always. > `valgrind --leak-check=full -v offline` > > results in: > First off, the problem could be platform specific. There are quite big differences between X11 and Win32. However, my guess is that you have a problem in your 'model' (Qt 4 uses a form of MVC). You're getting uninitialized reads when Qt is looking for something in a hash table, which looks like a redraw resulting from setting the conent of a text control. A+ Paul |