<?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[Qt6 WinMain&#x2F;qtmain not available?]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I just switched my project (that uses CMake) from Qt5 to Qt6. After failing to find or link to the component <code>Qt6::WinMain</code> I checked the lib folder and realized that there is no <code>qtmain.lib</code>. Was it removed or is it just an oversight? (Qt 6.0.0 MSVC 2019 64-bit)</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.qt.io/topic/122659/qt6-winmain-qtmain-not-available</link><generator>RSS for Node</generator><lastBuildDate>Sun, 28 Jun 2026 00:45:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/122659.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Jan 2021 11:43:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt6 WinMain&#x2F;qtmain not available? on Wed, 13 Jan 2021 16:38:29 GMT]]></title><description><![CDATA[<p dir="auto">There is no need to explicitly link against Qt6::WinMain (and is also not needed for Qt5)</p>
]]></description><link>https://forum.qt.io/post/637757</link><guid isPermaLink="true">https://forum.qt.io/post/637757</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Wed, 13 Jan 2021 16:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 WinMain&#x2F;qtmain not available? on Wed, 10 Feb 2021 08:23:31 GMT]]></title><description><![CDATA[<p dir="auto">Okay, for some reason there is still a <code>WinMain</code> defined by Qt, in some mysterious <code>qtentrypoint_win.cpp</code> which must be a part of <code>Qt6::Core</code>, <code>Qt6::Gui</code>, or <code>Qt6::Widgets</code> because I'm not linking to anything else.</p>
]]></description><link>https://forum.qt.io/post/637720</link><guid isPermaLink="true">https://forum.qt.io/post/637720</guid><dc:creator><![CDATA[adamsoltan]]></dc:creator><pubDate>Wed, 10 Feb 2021 08:23:31 GMT</pubDate></item></channel></rss>