<?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[Unable to close .exe file through close button]]></title><description><![CDATA[<p dir="auto">Hey guys!<br />
I use Qt5.5 and Win7, and I have a QWidget class with QCustomplot.<br />
After static compile&amp;run, the .exe file works good.<br />
But i am unable to close this .exe through close button.<br />
(I can close widget window, but .exe is still exist in Windows Task Manager.)</p>
<p dir="auto">Are there any possible reasons might cause this problem?<br />
(I have checked the class destructor "delete ui".)<br />
Thanks!</p>
]]></description><link>https://forum.qt.io/topic/62596/unable-to-close-exe-file-through-close-button</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 08:35:40 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/62596.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Jan 2016 15:22:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to close .exe file through close button on Wed, 13 Jan 2016 00:49:51 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, mrjj.</p>
<p dir="auto">I solve this problem by the following modification.<br />
(Use .show() instead of .exec() in main.cpp)</p>
<pre><code>int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Dialog w;
    w.exec();  ---&gt; w.show();

    return a.exec();
}
</code></pre>
]]></description><link>https://forum.qt.io/post/307008</link><guid isPermaLink="true">https://forum.qt.io/post/307008</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 13 Jan 2016 00:49:51 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to close .exe file through close button on Tue, 12 Jan 2016 15:30:42 GMT]]></title><description><![CDATA[<p dir="auto">hi and welcome<br />
just for test.<br />
Did u try without  QCustomplot.<br />
or at least with no data in it.</p>
]]></description><link>https://forum.qt.io/post/306913</link><guid isPermaLink="true">https://forum.qt.io/post/306913</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Tue, 12 Jan 2016 15:30:42 GMT</pubDate></item></channel></rss>