<?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[A bug? QBasicTimer::start: QBasicTimer can only be used with threads started with QThread]]></title><description><![CDATA[<p dir="auto">Hi,all:<br />
I have encountered an interesting problem.</p>
<p dir="auto">Qt5.14.1 + VS2017 32bit + Win 10</p>
<p dir="auto">I have a exe project and an MainWindow project. exe to show MainWindow.</p>
<p dir="auto">Scene 1: exe + QPluginLoader(MainWindow), call MainWindow as a qt plugin, when i close ,it says:</p>
<pre><code>QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
</code></pre>
<p dir="auto">especially when you drag a QComboBox to the ui.<br />
without QComboBox, it says nothing.</p>
<p dir="auto">Scene 2:exe + QLibrary("Mainwindow.dll"), call MainWindow as a dynamic library, when i colse ,it says nothing. every goes OK.<br />
even I added QComboBox to the Ui.</p>
<p dir="auto">I donot use any qthread, or qtimer. only a new mainwindow skeleton project from widzard.<br />
Anyone has this problem ,and how does it happen?<br />
thanks.</p>
]]></description><link>https://forum.qt.io/topic/131609/a-bug-qbasictimer-start-qbasictimer-can-only-be-used-with-threads-started-with-qthread</link><generator>RSS for Node</generator><lastBuildDate>Sat, 26 Sep 2026 04:34:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/131609.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Nov 2021 07:18:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A bug? QBasicTimer::start: QBasicTimer can only be used with threads started with QThread on Mon, 27 May 2024 06:55:10 GMT]]></title><description><![CDATA[<p dir="auto">Just chiming in for search engine posterity, in case this helps anyone: I was getting this error because I was inadvertently <code>delete</code>-ing a QComboBox after my QApplication instance had already been destroyed.</p>
]]></description><link>https://forum.qt.io/post/800950</link><guid isPermaLink="true">https://forum.qt.io/post/800950</guid><dc:creator><![CDATA[Daniel X]]></dc:creator><pubDate>Mon, 27 May 2024 06:55:10 GMT</pubDate></item><item><title><![CDATA[Reply to A bug? QBasicTimer::start: QBasicTimer can only be used with threads started with QThread on Wed, 03 Nov 2021 09:02:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qttester">@<bdi>QtTester</bdi></a> Before you quit your application:</p>
<ol>
<li>Make sure that your <code>MainWindow</code> is closed and deleted</li>
<li>Call <code>QPluginLoader::unload()</code></li>
</ol>
<p dir="auto">Does the warning message still appear?</p>
]]></description><link>https://forum.qt.io/post/688164</link><guid isPermaLink="true">https://forum.qt.io/post/688164</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Wed, 03 Nov 2021 09:02:52 GMT</pubDate></item><item><title><![CDATA[Reply to A bug? QBasicTimer::start: QBasicTimer can only be used with threads started with QThread on Wed, 03 Nov 2021 08:39:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kent-dorfman">@<bdi>Kent-Dorfman</bdi></a><br />
I do think it's a qt bug. When i load other UI with QtPlugLoader just inherited from QWidget, the warning will not appear.</p>
]]></description><link>https://forum.qt.io/post/688144</link><guid isPermaLink="true">https://forum.qt.io/post/688144</guid><dc:creator><![CDATA[QtTester]]></dc:creator><pubDate>Wed, 03 Nov 2021 08:39:51 GMT</pubDate></item><item><title><![CDATA[Reply to A bug? QBasicTimer::start: QBasicTimer can only be used with threads started with QThread on Tue, 02 Nov 2021 03:15:58 GMT]]></title><description><![CDATA[<p dir="auto">that doesn't seem right.  You should be able to instantiate a Qtimer or similar in any class derived from QObject.</p>
]]></description><link>https://forum.qt.io/post/687872</link><guid isPermaLink="true">https://forum.qt.io/post/687872</guid><dc:creator><![CDATA[Kent-Dorfman]]></dc:creator><pubDate>Tue, 02 Nov 2021 03:15:58 GMT</pubDate></item></channel></rss>