<?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[Qt Creator Debug button disabled &#x2F; breakpoints not hit with custom executable (Shotcut build)]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I’m trying to use Qt Creator purely as a debugger for an externally built Qt application (Shotcut, which uses the MLT framework), and I’m running into issues with the debugger setup.</p>
<p dir="auto"><strong>Setup:</strong></p>
<ul>
<li>OS: Windows</li>
<li>Build method: Official <code>build-shotcut-msys2.sh</code> script</li>
<li>Qt: 6.10.x (MSYS2 MinGW build)</li>
<li>Qt Creator: (your version)</li>
<li>Compiler/Kit: MinGW (matching MSYS2 environment)</li>
</ul>
<p dir="auto"><strong>What works:</strong></p>
<ul>
<li>Shotcut builds successfully.</li>
<li>Running <code>shotcut.exe</code> directly works without issues.</li>
</ul>
<p dir="auto"><strong>What I’m trying to do:</strong><br />
Use Qt Creator only for debugging (no build inside Qt Creator).</p>
<hr />
<p dir="auto"><strong>Issues:</strong></p>
<ol>
<li>
<p dir="auto"><strong>Debug button disabled</strong></p>
<ul>
<li>After creating a custom Run configuration (Custom Executable), the <strong>Debug (F5) button is disabled</strong>.</li>
<li>It seems Qt Creator does not recognize the setup as debuggable.</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Breakpoints not hit (in some cases)</strong></p>
<ul>
<li>
<p dir="auto">In certain attempts, I managed to start debugging (e.g., via Application Output pane).</p>
</li>
<li>
<p dir="auto">However:</p>
<ul>
<li>Breakpoints are not reliably hit.</li>
<li>Stepping (F11) does not work as expected.</li>
</ul>
</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Application exits immediately (when debugger does start)</strong></p>
<ul>
<li>
<p dir="auto">When debugging does start:</p>
<ul>
<li>App launches</li>
<li>Then exits quickly without clear error</li>
</ul>
</li>
</ul>
</li>
</ol>
<hr />
<p dir="auto"><strong>Qt Creator configuration:</strong></p>
<ul>
<li>
<p dir="auto">Build and Clean steps disabled</p>
</li>
<li>
<p dir="auto">Custom Run configuration:</p>
<ul>
<li>Executable: <code>shotcut.exe</code> (from MSYS2 build)</li>
<li>Working directory: set to build/runtime folder</li>
<li>Environment: PATH adjusted to include required DLLs</li>
</ul>
</li>
<li>
<p dir="auto">Noted that the auto-generated configuration:</p>
<pre><code>build/shotcut/src/shotcut.exe
</code></pre>
<p dir="auto">is not editable, so I created a new one.</p>
</li>
</ul>
<hr />
<p dir="auto"><strong>Suspicions:</strong></p>
<ul>
<li>Kit configuration might be incomplete (debugger not properly attached?)</li>
<li>Qt Creator may not treat “Custom Executable” as debuggable unless something specific is set</li>
<li>Environment mismatch (MSYS2 vs Qt Creator)</li>
<li>Possible leftover/invalid run configurations interfering</li>
</ul>
<hr />
<p dir="auto"><strong>Questions:</strong></p>
<ol>
<li>What is the correct way to enable debugging for a <strong>custom executable</strong> in Qt Creator?</li>
<li>Why would the <strong>Debug button remain disabled</strong> even when an executable is set?</li>
<li>What configuration is required for Qt Creator to recognize breakpoints and allow stepping?</li>
<li>Is there a recommended workflow for debugging MSYS2-built Qt apps inside Qt Creator?</li>
</ol>
<hr />
<p dir="auto">If needed, I can share screenshots, kit configuration, or debugger logs.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/164462/qt-creator-debug-button-disabled-breakpoints-not-hit-with-custom-executable-shotcut-build</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 00:43:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164462.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Mar 2026 07:42:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt Creator Debug button disabled &#x2F; breakpoints not hit with custom executable (Shotcut build) on Sat, 21 Mar 2026 13:51:22 GMT]]></title><description><![CDATA[<p dir="auto">thanks cristian for reply....</p>
<p dir="auto">as we can clearly see the problem, MLT has very limited (maybe old and obsolete) documentation for steps on compiling MLT (including Shotcut) in Windows platform, hence, the hybrid thing was the approach for successful compilation.</p>
<p dir="auto">if possible can I have links to documentations for  compilation on Windows platform, and in case if further new development is required using MLT framework, which QTCreator needs to be used.?</p>
]]></description><link>https://forum.qt.io/post/837228</link><guid isPermaLink="true">https://forum.qt.io/post/837228</guid><dc:creator><![CDATA[Amit Khobragade]]></dc:creator><pubDate>Sat, 21 Mar 2026 13:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator Debug button disabled &#x2F; breakpoints not hit with custom executable (Shotcut build) on Sat, 21 Mar 2026 09:13:19 GMT]]></title><description><![CDATA[<p dir="auto">I don't think somebody tests this hybrid use case.</p>
<p dir="auto">The easiest way to get things running is to have consistency. Do install Qt Creator and MinGW from MSYS2.</p>
<p dir="auto">See <a href="https://packages.msys2.org/packages/mingw-w64-x86_64-qt-creator" target="_blank" rel="noopener noreferrer nofollow ugc">mingw-w64-x86_64-qt-creator</a> and <a href="https://packages.msys2.org/packages/mingw-w64-x86_64-gcc" target="_blank" rel="noopener noreferrer nofollow ugc">mingw-w64-x86_64-gcc</a>.</p>
]]></description><link>https://forum.qt.io/post/837223</link><guid isPermaLink="true">https://forum.qt.io/post/837223</guid><dc:creator><![CDATA[cristian-adam]]></dc:creator><pubDate>Sat, 21 Mar 2026 09:13:19 GMT</pubDate></item></channel></rss>