<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thank you very much! I looked at the stack trace and as soon as I have the opportunity I'll try to fix it. Changing the button to a check box no longer gives the error so it is just for certain widgets (buttons and QActions at least). I'll also to set up debugging on my system. For now I'm just forwarding your mail and attachments to the mailing list, hopefully your stack trace will be enough for Arno to fix the problem. In the mean time, I have sent to the mailing list a simpler example which does not even use Sender() and still crashes, you may want to check it out.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span
 style="font-weight:bold;">From:</span></b> Steven Boswell II <ulatekh@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, December 11, 2011 10:08 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> GDB debugging under Windows!<br> </font> <br>
<div id="yiv1581337094"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>I can run C# executables under Windows in the debugger!  Here's what I did:</div><div><br></div><div>1) I deleted my old "C:\Program Files (x86)\qyoto", installed my previously-built Release version of smokegen (to that directory), then copied that directory to "C:\Program Files (x86)\qyoto-debug".</div><div>2) I built a Debug version of smokeqt, and installed it to "C:\Program Files (x86)\qyoto-debug".</div><div>3) After configuring a Debug qyoto build, set to install to "C:\Program Files (x86)\qyoto-debug", I changed Smoke_DIR to "C:\Program Files (x86)\qyoto-debug/share/smoke/cmake", and rebuilt the CMake files.</div><div>4) Even after that, there were still references in my "qyoto-build-debug" directory to "C:\Program Files (x86)\qyoto".  Why, I don't know.  But running the enclosed "<a
 target="_blank" href="http://qyoto-debug.sh">qyoto-debug.sh</a>" file
 from within the "qyoto-build-debug" directory patched them up.</div><div>5) I built qyoto, and installed it to "C:\Program Files (x86)\qyoto-debug".</div><div>6) I took "C:\Program Files (x86)\qyoto" out of my system path and put in "C:\Program Files (x86)\qyoto-debug" instead.</div><div>7) I started a new MinGW Shell window, so that it would get the new path.</div><div>8) I cd'd to the directory with the "test" executable and ran "gdb test.exe".</div><div><br></div><div>The enclosed test-crash.txt shows the stack trace from the crash, and a point where I was able to list the source code of part of smokeqt, and look at variables!</div><div><br></div><div>Hopefully these instructions will let you debug Qyoto under Windows!</div><div><br></div><div>As for your crash...it seems to be dying inside of a call to QPushButton::paintEvent(), which seems really weird.<br></div><div><br></div><div>-Steve</div><div><br></div></div></div></div><br><br> </div> </div>
  </div></body></html>