<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[HowTo] Show Debug symbols with ndk-stack and QtAndroid on crash]]></title><description><![CDATA[<p dir="auto">Steps to show debug lines for a NDK C code project:</p>
<ul>
<li>enable Debug in your CMake project or in QtCreator</li>
<li>deploy to Android</li>
<li>locate your NDK install path containing the ndk-stack binary or start script</li>
<li>locate your BUILD_PATH containing your <em><a href="http://libproject-abiXXX.so" target="_blank" rel="noopener noreferrer nofollow ugc">libproject-abiXXX.so</a></em> or likewise named binary objects<br />
That could be in <em>build/Qt_6_11_1_f_r_Android_arm64_v8a_Debug/</em> for a QtCreator project.</li>
<li>let your project crash</li>
<li>call on Unix in a command line (assuming one single device connection):</li>
</ul>
<pre><code>logcat=logcat.txt
adb logcat -d &gt; $logcat
$NDK/ndk-stack -sym $BUILD_PATH -dump $logcat
</code></pre>
<ul>
<li>ndk-stack greps the crashes and prints them with resolved code line numbers for you</li>
</ul>
]]></description><link>https://forum.qt.io/topic/164955/howto-show-debug-symbols-with-ndk-stack-and-qtandroid-on-crash</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 22:55:55 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164955.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Jul 2026 12:45:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [HowTo] Show Debug symbols with ndk-stack and QtAndroid on crash on Sat, 01 Aug 2026 18:44:04 GMT]]></title><description><![CDATA[<p dir="auto">Nice, thanks !</p>
]]></description><link>https://forum.qt.io/post/839499</link><guid isPermaLink="true">https://forum.qt.io/post/839499</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 01 Aug 2026 18:44:04 GMT</pubDate></item><item><title><![CDATA[Reply to [HowTo] Show Debug symbols with ndk-stack and QtAndroid on crash on Fri, 31 Jul 2026 20:31:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Greetings,<br />
thanks for  your comment. Yes, its a HowTo sticker for that topic. Changed.</p>
]]></description><link>https://forum.qt.io/post/839487</link><guid isPermaLink="true">https://forum.qt.io/post/839487</guid><dc:creator><![CDATA[beku2]]></dc:creator><pubDate>Fri, 31 Jul 2026 20:31:21 GMT</pubDate></item><item><title><![CDATA[Reply to [HowTo] Show Debug symbols with ndk-stack and QtAndroid on crash on Fri, 31 Jul 2026 19:02:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/beku2">@<bdi>beku2</bdi></a> Hi,</p>
<p dir="auto">Do I get correctly that you are giving instructions on how to show these debug symbols ?</p>
<p dir="auto">If that is indeed the case, then I would recommend to change the title to something like <code>[HowTo] Show Debug...</code> so that it tells people that there are instructions rather than a question and use the "Topic Tools" button to make it a "Normal Topic" because otherwise it will look like an unanswered question rather than a helpful howto.</p>
]]></description><link>https://forum.qt.io/post/839485</link><guid isPermaLink="true">https://forum.qt.io/post/839485</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 31 Jul 2026 19:02:26 GMT</pubDate></item></channel></rss>