<?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 run any examples or compile new project.]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have some older projects from the old system (win7 Qt-5.12.3, Visual Studio 2017) that I wish to port to my new platform (win10 Qt-5.14 VS2019).<br />
I downloaded and installed Qt 5.14 and installed Qt extension for VS2019, but now I'm unable to run even a simple Qt project. I tried from QtCreator and VisualStudio. They both behave like Qt is not installed and can't find include files.</p>
<p dir="auto">Furthermore after creating a new Qt project, they both complain about  Variable QMAKE_CXX.COMPILER_MACROS is not defined and msvc-version.conf loaded but QMAKE_MSC_VER isn't set.<br />
I tried searching about it but the only reference is a 2 year old closed bug report.</p>
<p dir="auto">I tried uninstalling Qt and VS and start fresh but the problem persist. This happens both on VS2019 and VS2017. I tried Setting up Kits in QtCreator-&gt;Tools-&gt;Options-&gt;Kits, but nothing works.</p>
<p dir="auto">This used to work out of the box and I never had any issues setting up, but now I can't even compile a simple UI program from QtCreator? Did something change in the installation?</p>
<p dir="auto">I've been bashing my head against this entire day and can't make any progress.<br />
Any help is appreciated.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.qt.io/topic/110009/unable-to-run-any-examples-or-compile-new-project</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 07:02:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110009.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Dec 2019 19:31:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to run any examples or compile new project. on Mon, 23 Dec 2019 16:40:16 GMT]]></title><description><![CDATA[<p dir="auto">I did a clean install of Win10. Installed Qt and made an example project and it was all OK. But that was a few months ago.</p>
<p dir="auto">And regarding the issue I had. It didn't have anything to do with Qt. After some more digging today I found out that my OS was infected with a Miner malware called SoundMixer that prevented opening and executing CMD commands.<br />
I also found an old topic on this forums here, that mentions it here:</p>
<p dir="auto"><a href="https://forum.qt.io/topic/88567/qt-windows-7-installation-issues/23">https://forum.qt.io/topic/88567/qt-windows-7-installation-issues/23</a></p>
<p dir="auto">It prevents the execution of any CMD command. I almost always use powershell and didn't notice it by now.</p>
<p dir="auto">Regards</p>
<p dir="auto">EDIT:<br />
After reinstalling VS, Qt Extension 2.4.2 <strong>revision 0.9</strong> - newer one has issues - the Qt made project made in VS2017 and VS2019 compiled without issues.</p>
]]></description><link>https://forum.qt.io/post/568835</link><guid isPermaLink="true">https://forum.qt.io/post/568835</guid><dc:creator><![CDATA[Simula]]></dc:creator><pubDate>Mon, 23 Dec 2019 16:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to run any examples or compile new project. on Mon, 23 Dec 2019 11:12:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/simula">@<bdi>Simula</bdi></a>,</p>
<p dir="auto">very good investigation. I've never heard such problems before, but now we know they might exist.</p>
<p dir="auto">One more question: Did you upgrade your Win7 to Win10 or did you do a clean re-install of Windows 10?</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/post/568773</link><guid isPermaLink="true">https://forum.qt.io/post/568773</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Mon, 23 Dec 2019 11:12:01 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to run any examples or compile new project. on Mon, 23 Dec 2019 10:22:47 GMT]]></title><description><![CDATA[<p dir="auto">It seems that during setup and opening of QtCreator projects, Windows shell commands are issued. And while investigating I found out that I can't open CMD.exe anymore from the Run menu in Win10.</p>
<p dir="auto">Further digging on the issue reveled an anomaly in the Command Processor AutoRun key in the Windows Registry.<br />
Removing the value enabled for CMD to be run again and QtCreator then opened and built a project without issues.</p>
<p dir="auto">Visual Studio still complains about Intellisence, but I believe that it's caused by the same issue and reinstalling the apps should fix the problem.</p>
<p dir="auto">EDIT:<br />
After removing and reinstalling Visual Studio, I can confirm that Qt Apps compile successfully on Visual Studio.</p>
]]></description><link>https://forum.qt.io/post/568720</link><guid isPermaLink="true">https://forum.qt.io/post/568720</guid><dc:creator><![CDATA[Simula]]></dc:creator><pubDate>Mon, 23 Dec 2019 10:22:47 GMT</pubDate></item></channel></rss>