<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, and thank you for answering fast<div><br></div><div>Sorry, I didn't explain myself very clear. I downloaded the SDK and tried to debug my project and got an error saying that there was no debugger installed. I tried to Google how to install a debugger for Qt Creator and one tip that I found was to use the gdb-debugger that comes with Xcode. I couldn't set a debugger for the Kit that was installed with the SDK (the Manage-button was disabled) so I cloned the existing Kit and set the Xcode gdb-debugger as the one to use in the clone. Now I get an error saying "Reading debug information failed: <ProjectName>: not in executable format: File format not recognized". I checked the settings under Projects and both C++ and qml debugging are enabled.</div><div><br></div><div>When i look under Targets in the SailfishOS menu there are a lot of "something-devel" that I can install. Is there something there that I should install to get it working?</div><div><br></div><div>Regards,</div><div>David</div><div><br><div><div><div>26 maj 2013 kl. 01:21 skrev "Aurindam Jana" <<a href="mailto:mail@aurindamjana.in">mail@aurindamjana.in</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font face="arial" size="1"><div style="margin: 0px; padding: 0px; ">Hi,</div><p style="margin:0;padding:0;"> </p><div style="margin: 0px; padding: 0px; ">You need to use the Qt Creator that is shipped with the SailfishOS SDK.</div><div style="margin: 0px; padding: 0px; ">Make sure that you have selected both QML debugiing and C++ debugging (both are enabled by default for SailfishOS applications)</div><p style="margin:0;padding:0;"> </p><p style="margin:0;padding:0;"> </p>
<!--WM_COMPOSE_SIGNATURE_START--><div style="margin: 0px; padding: 0px; ">Regards,</div><p style="margin:0;padding:0;"> </p><div style="margin: 0px; padding: 0px; ">Aurindam</div><p style="margin:0;padding:0;"> </p><div style="margin: 0px; padding: 0px; ">IRC: auri__ @ freenode</div><div style="margin: 0px; padding: 0px; "><a href="http://www.aurindamjana.in">www.aurindamjana.in</a></div>
<!--WM_COMPOSE_SIGNATURE_END--><div style="margin: 0px; padding: 0px; "><br><br>On Saturday, May 25, 2013 23:15, "David Reinhold" <<a href="mailto:david@reinholds.se">david@reinholds.se</a>> said:<br><br></div>
<div id="SafeStyles1369523989"><div style="margin: 0px; padding: 0px; ">> Hi!<br>> Noob question from a .Net developer used to Visual Studio: How do I<br>> debug a sailfish application (qml+javascript) in QT Creator (Mac OS X<br>> 10.8)? I've set gdb (that came with XCode) as the debugger but I get<br>> an error saying that the file is not recognised as an executable or<br>> something like that (I can give you the exact error message when I get<br>> back to my computer). I can imagine that the Xcode debugger isn't<br>> really what I should be using but what should I use instead?<br>> <br>> I really would appreciate any pointers here as I have a list if apps<br>> that I want to have on my new phone when it arrives.<br>> <br>> Regards,<br>> David<br>> _______________________________________________<br>> <a href="http://SailfishOS.org">SailfishOS.org</a> Devel mailing list<br>></div>
</div></font></blockquote></div><br></div></div></body></html>