<?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[Building Qt Applications with MSVC2022]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I've developed a small (very small) Qt Application on MacOS and now, I want to build it on Windows11 using MSVC2022.  I've used the online installer to install Qt. Now, I fail to see, what value to pass to <code>Qt6_ROOT</code> when building the application, using CMake.</p>
<p dir="auto">I've installed Qt under C:\Qt and under C:\Qt\6.11.1\mingw_64 folder that contains the package informations for CMakes <code>find_package()</code>. I reran the installation to see, if there is support for other compilers / runtimes that I had to include, but I found nothing.</p>
<p dir="auto">Now, I'm a little bit puzzled. Is it possible to use Qt with MSVC2022 with CMake? If so, how?</p>
<p dir="auto">best regards<br />
Torsten</p>
]]></description><link>https://forum.qt.io/topic/164841/building-qt-applications-with-msvc2022</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 15:27:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164841.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Jul 2026 13:09:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building Qt Applications with MSVC2022 on Wed, 01 Jul 2026 13:20:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/torsten-robitzki">@<bdi>Torsten-Robitzki</bdi></a> said in <a href="/post/838942">Building Qt Applications with MSVC2022</a>:</p>
<blockquote>
<p dir="auto">C:\Qt\6.11.1\mingw_64</p>
</blockquote>
<p dir="auto">this is not for MSVC compiler.<br />
Install Qt for MSVC and also install Microsoft Visual Studio build toos (to get the compiler, it is not provided via Qt installer).</p>
]]></description><link>https://forum.qt.io/post/838944</link><guid isPermaLink="true">https://forum.qt.io/post/838944</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 01 Jul 2026 13:20:38 GMT</pubDate></item><item><title><![CDATA[Reply to Building Qt Applications with MSVC2022 on Wed, 01 Jul 2026 14:32:28 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I rerun the installer again and finally found the option und "Qt".</p>
<p dir="auto">Thanks a lot!</p>
]]></description><link>https://forum.qt.io/post/838946</link><guid isPermaLink="true">https://forum.qt.io/post/838946</guid><dc:creator><![CDATA[Torsten Robitzki]]></dc:creator><pubDate>Wed, 01 Jul 2026 14:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to Building Qt Applications with MSVC2022 on Wed, 01 Jul 2026 14:00:44 GMT]]></title><description><![CDATA[<p dir="auto">How to install Qt for MSVC? I have not found any support for MSVC in the online installer?</p>
]]></description><link>https://forum.qt.io/post/838945</link><guid isPermaLink="true">https://forum.qt.io/post/838945</guid><dc:creator><![CDATA[Torsten Robitzki]]></dc:creator><pubDate>Wed, 01 Jul 2026 14:00:44 GMT</pubDate></item><item><title><![CDATA[Reply to Building Qt Applications with MSVC2022 on Wed, 01 Jul 2026 13:20:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/torsten-robitzki">@<bdi>Torsten-Robitzki</bdi></a> said in <a href="/post/838942">Building Qt Applications with MSVC2022</a>:</p>
<blockquote>
<p dir="auto">C:\Qt\6.11.1\mingw_64</p>
</blockquote>
<p dir="auto">this is not for MSVC compiler.<br />
Install Qt for MSVC and also install Microsoft Visual Studio build toos (to get the compiler, it is not provided via Qt installer).</p>
]]></description><link>https://forum.qt.io/post/838944</link><guid isPermaLink="true">https://forum.qt.io/post/838944</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 01 Jul 2026 13:20:38 GMT</pubDate></item></channel></rss>