<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I'm not sure. There is an make-like program for Windows called "nmake", maybe this is what you need. I don't know any more but you googling it returns quite a few relevant result.<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>; KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, December 11, 2011 11:27 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: GDB
debugging under Windows!<br> </font> <br>
<div id="yiv914489682"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>Since you sent my letter to the list, let me add that <a target="_blank" href="http://qyoto-debug.sh">qyoto-debug.sh</a> needs a trailing parenthesis that somehow got missed during copy/paste. One also needs to remove the "$ " at the beginning of the file.<br></span></div><div><br><span></span></div><div><span>Also, while under Windows, I tried to get CMake to generate build files for Visual Studio 2008, since MonoDevelop can read those, but CMake died immediately and complained that it couldn't find an appropriate "make" program. I wasn't sure what to give it. I was trying to create projects for smokeqt and qyoto that I could load into MonoDevelop, to see if I could get MonoDevelop to debug them. No luck so far. Does CMake need an option for MonoDevelop, or is there some
other way to get this to
work?</span></div><div><br><span></span></div><div><span>Steven Boswell<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> Dimitar Dobrev <dpldobrev@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> Steven Boswell II <ulatekh@yahoo.com>; KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, December 11, 2011 1:58 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: GDB debugging under Windows!<br> </font> <br>
<div id="yiv914489682"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);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="yiv914489682"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);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 rel="nofollow" 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></div></div><br><br> </div> </div> </div></div></div><br><br> </div> </div> </div></body></html>