<?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[Problem while playing songs after deployment]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I made an application that play diverses song using Qt 5.15.2 on Windows. It works well using QT IDE and now I want to use the executable as a standalone to deploy it on other platforms. My program use the following QT class for play songs: <a href="https://doc.qt.io/qt-5/qmediaplaylist.html" target="_blank" rel="noopener noreferrer nofollow ugc">QMediaPlaylist</a> and <a href="https://doc.qt.io/qt-5/qmediaplayer.html" target="_blank" rel="noopener noreferrer nofollow ugc">QMediaPlayer</a>.</p>
<p dir="auto">I created a dedicated folder containing:</p>
<ul>
<li>platforms/qwindows.dll</li>
<li>audio/qtaudio_windows.dll</li>
<li>mediaservice/dsengine.dll</li>
<li>mediaservice/qtmedia_audioengine.dll</li>
<li>playlistformats/qtmultimedia_m3u.dll</li>
<li>myProgram.exe</li>
<li>libgcc_s_seh-1.dll</li>
<li>libstdc++-6.dll</li>
<li>libwinpthread-1.dll</li>
<li>Qt5Core.dll</li>
<li>Qt5Gui.dll</li>
<li>Qt5Multimedia.dll</li>
<li>Qt5MultimediaQuick.dll</li>
<li>Qt5MultimediaWidgets.dll</li>
<li>Qt5Network.dll</li>
<li>Qt5OpenGL.dll</li>
<li>Qt5Widgets.dll</li>
</ul>
<p dir="auto">The executable run well but each time I need to play a sound, it doesn't work (no sounds) and it crashes after a while.</p>
<p dir="auto">Any idea on how to solve this ?</p>
<p dir="auto">Thanks !</p>
<p dir="auto">PS : right now I testing this on the same platform where I have developed the code</p>
]]></description><link>https://forum.qt.io/topic/131996/problem-while-playing-songs-after-deployment</link><generator>RSS for Node</generator><lastBuildDate>Mon, 03 Aug 2026 02:21:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/131996.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Nov 2021 10:51:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem while playing songs after deployment on Tue, 16 Nov 2021 09:05:41 GMT]]></title><description><![CDATA[<p dir="auto">OK after thinking about the possibilities, I decided to remake a part of my code to include the audio player into the main class instead of a thread.</p>
<p dir="auto">So now it works.</p>
]]></description><link>https://forum.qt.io/post/690226</link><guid isPermaLink="true">https://forum.qt.io/post/690226</guid><dc:creator><![CDATA[CLBSII]]></dc:creator><pubDate>Tue, 16 Nov 2021 09:05:41 GMT</pubDate></item><item><title><![CDATA[Reply to Problem while playing songs after deployment on Mon, 15 Nov 2021 13:01:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clbsii">@<bdi>CLBSII</bdi></a> said in <a href="/post/690070">Problem while playing songs after deployment</a>:</p>
<blockquote>
<p dir="auto">I had to put my audio player in a Thread. Maybe it has something to do with this ?</p>
</blockquote>
<p dir="auto">How did you do this?<br />
Are you sure all class instances used by your player are running in the right thread?</p>
]]></description><link>https://forum.qt.io/post/690078</link><guid isPermaLink="true">https://forum.qt.io/post/690078</guid><dc:creator><![CDATA[KroMignon]]></dc:creator><pubDate>Mon, 15 Nov 2021 13:01:26 GMT</pubDate></item><item><title><![CDATA[Reply to Problem while playing songs after deployment on Mon, 15 Nov 2021 11:43:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clbsii">@<bdi>CLBSII</bdi></a> Then there might be an issue, yes.</p>
]]></description><link>https://forum.qt.io/post/690071</link><guid isPermaLink="true">https://forum.qt.io/post/690071</guid><dc:creator><![CDATA[artwaw]]></dc:creator><pubDate>Mon, 15 Nov 2021 11:43:27 GMT</pubDate></item><item><title><![CDATA[Reply to Problem while playing songs after deployment on Mon, 15 Nov 2021 11:36:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/artwaw">@<bdi>artwaw</bdi></a> ok I tried this in a new folder. It added me a lot a new files, but when I launch the executable, the problem remains the same.</p>
<p dir="auto">But maybe there is something to do with my code: for operational reasons, I had to put my audio player in a Thread. Maybe it has something to do with this ?</p>
<p dir="auto">I say that because I tried to do a simple QT application witch just play a song, and it works properly using windeployqt.</p>
]]></description><link>https://forum.qt.io/post/690070</link><guid isPermaLink="true">https://forum.qt.io/post/690070</guid><dc:creator><![CDATA[CLBSII]]></dc:creator><pubDate>Mon, 15 Nov 2021 11:36:21 GMT</pubDate></item><item><title><![CDATA[Reply to Problem while playing songs after deployment on Mon, 15 Nov 2021 10:57:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clbsii">@<bdi>CLBSII</bdi></a> Please try to run windeployqt against your application and then try? In that dedicated folder of yours.</p>
]]></description><link>https://forum.qt.io/post/690068</link><guid isPermaLink="true">https://forum.qt.io/post/690068</guid><dc:creator><![CDATA[artwaw]]></dc:creator><pubDate>Mon, 15 Nov 2021 10:57:31 GMT</pubDate></item></channel></rss>