<?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 VS Tools 2.9.1 rev. 6 bug]]></title><description><![CDATA[<p dir="auto">I was running windeployqt as a "Post-Build Event" step which was set up like this for a Debug build:</p>
<pre><code>call $(QtToolsPath)\qtenv2.bat
call "$(VCInstallDir)Auxiliary\Build\vcvars64.bat"
$(QtToolsPath)\windeployqt --pdb --debug $(TargetPath)
</code></pre>
<p dir="auto">and like this for a Release build:</p>
<pre><code>call $(QtToolsPath)\qtenv2.bat
call "$(VCInstallDir)Auxiliary\Build\vcvars64.bat"
$(QtToolsPath)\windeployqt $(TargetPath)
</code></pre>
<p dir="auto">I noticed that the Qt Project Settings now offers the option to run this with the Run Deployment Tool option, so I turned off my Post-Build Event stuff and set Run Deployment Tool to Yes.</p>
<p dir="auto">Unfortunately:</p>
<pre><code>1&gt;DeepSkyStacker.vcxproj -&gt; C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\DeepSkyStacker.exe
1&gt;windeployqt: "C:/Qt/5.15.2/msvc2019_64/bin\windeployqt.exe" --list target --dir C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\ C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\DeepSkyStacker.exe
1&gt;Unable to find dependent libraries of C:\Anaconda2\Library\bin\Qt5Widgetsd.dll :Cannot open 'C:/Anaconda2/Library/bin/Qt5Widgetsd.dll': The system cannot find the file specified.
1&gt;
1&gt;
1&gt;C:\Users\amonra\AppData\Local\QtMsBuild\deploy\qtdeploy.targets(283,5): error MSB3073: The command ""C:/Qt/5.15.2/msvc2019_64/bin\windeployqt.exe" --list target --dir C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\ C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\DeepSkyStacker.exe &gt; "x64\Debug\windeployqt.log"" exited with code 1.
1&gt;Done building project "DeepSkyStacker.vcxproj" -- FAILED.
</code></pre>
<p dir="auto">Clearly something is amiss  - the question is what?</p>
<p dir="auto">I've reverted to the previous setup for now</p>
<p dir="auto">D.</p>
]]></description><link>https://forum.qt.io/topic/139504/qt-vs-tools-2-9-1-rev-6-bug</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 15:46:00 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139504.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Sep 2022 14:50:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Wed, 28 Sep 2022 19:44:30 GMT]]></title><description><![CDATA[<p dir="auto">Then can you try the same from the command line to see if it's something that is related to Visual Studio or if there's something else in your system that might be off.</p>
]]></description><link>https://forum.qt.io/post/730596</link><guid isPermaLink="true">https://forum.qt.io/post/730596</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 28 Sep 2022 19:44:30 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Wed, 28 Sep 2022 19:37:00 GMT]]></title><description><![CDATA[<p dir="auto">Bump-t-bump</p>
]]></description><link>https://forum.qt.io/post/730592</link><guid isPermaLink="true">https://forum.qt.io/post/730592</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Wed, 28 Sep 2022 19:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Mon, 26 Sep 2022 19:50:44 GMT]]></title><description><![CDATA[<p dir="auto">Huh! No This was all VS2019 and VS Tools plugin</p>
]]></description><link>https://forum.qt.io/post/730261</link><guid isPermaLink="true">https://forum.qt.io/post/730261</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Mon, 26 Sep 2022 19:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Mon, 26 Sep 2022 18:42:12 GMT]]></title><description><![CDATA[<p dir="auto">Did you start a visual studio enabled command line ?</p>
]]></description><link>https://forum.qt.io/post/730256</link><guid isPermaLink="true">https://forum.qt.io/post/730256</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 26 Sep 2022 18:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Mon, 26 Sep 2022 12:26:43 GMT]]></title><description><![CDATA[<p dir="auto">It is still broken ... see my last but one post</p>
]]></description><link>https://forum.qt.io/post/730197</link><guid isPermaLink="true">https://forum.qt.io/post/730197</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Mon, 26 Sep 2022 12:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Fri, 23 Sep 2022 19:32:46 GMT]]></title><description><![CDATA[<p dir="auto">No conda environment that I know of - and now Anaconda is gone, it there were one it too would be gone.</p>
<p dir="auto">D.</p>
]]></description><link>https://forum.qt.io/post/729992</link><guid isPermaLink="true">https://forum.qt.io/post/729992</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Fri, 23 Sep 2022 19:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Fri, 23 Sep 2022 18:22:37 GMT]]></title><description><![CDATA[<p dir="auto">I do not know how Anaconda modifies the Windows environment. One thing you should check if possible is whether you have a conda environment activated. Especially the base environment as it can break stuff. On Linux I had issues building Qt because I had it activated.</p>
]]></description><link>https://forum.qt.io/post/729986</link><guid isPermaLink="true">https://forum.qt.io/post/729986</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 23 Sep 2022 18:22:37 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Fri, 23 Sep 2022 15:51:28 GMT]]></title><description><![CDATA[<p dir="auto">Well that was a bust:</p>
<p dir="auto">1&gt;windeployqt: "C:/Qt/5.15.2/msvc2019_64/bin\windeployqt.exe" --list target --dir C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\ C:\Users\amonra\Documents\GitHub\DSS\x64\Debug\DeepSkyStacker.exe<br />
1&gt;EXEC : warning : Cannot find Visual Studio installation directory, VCINSTALLDIR is not set.</p>
<p dir="auto">Looking at the defined macros in the project, I beg to differ with the above:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/4b800a3f-f805-4a46-868d-58a5ee09a5e8.png" alt="367c71b2-aa41-47f2-bb6f-5e9490f2fe60-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Still not clear why I needed to remove Anaconda - I shouldn't need to do that!</p>
<p dir="auto">D.</p>
]]></description><link>https://forum.qt.io/post/729974</link><guid isPermaLink="true">https://forum.qt.io/post/729974</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Fri, 23 Sep 2022 15:51:28 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Fri, 23 Sep 2022 08:26:52 GMT]]></title><description><![CDATA[<p dir="auto">Well I uninstalled it temporarily, but it seems to me that I should not need to do that!</p>
<p dir="auto">I didn't use anything but VS2019 to build my application - didn't use Anaconda at all.</p>
<p dir="auto">Will test tomorrow - it's almost 3am now</p>
<p dir="auto">D.</p>
]]></description><link>https://forum.qt.io/post/729858</link><guid isPermaLink="true">https://forum.qt.io/post/729858</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Fri, 23 Sep 2022 08:26:52 GMT</pubDate></item><item><title><![CDATA[Reply to QT VS Tools 2.9.1 rev. 6 bug on Thu, 22 Sep 2022 19:08:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">It seems that your environment mixes conda and your standard Qt installation.</p>
<p dir="auto">Which one did you use to build your application ?<br />
Can you ensure that you do not have a conda environment active at the same time ? Even the base environment.</p>
]]></description><link>https://forum.qt.io/post/729845</link><guid isPermaLink="true">https://forum.qt.io/post/729845</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 22 Sep 2022 19:08:35 GMT</pubDate></item></channel></rss>