<?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[Qt5 and WinSock.h issue]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">This is regarding Windows platform - MSVC2010. In my Qt4.8.1 based application I was including BOOST/ASIO headers after including all Qt headers. When I tried to compile in Qt5.0.1 I got error: ..\asio\asio\detail\socket_types.hpp:22: error: C1189: #error :  WinSock.h has already been included.</p>
<p dir="auto">The problem is with #include &lt;QtNetwork&gt; being included before ASIO. What changed in QtNetwork regarding WinSock.h?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/topic/24304/qt5-and-winsock-h-issue</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 13:37:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/24304.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Feb 2013 15:47:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt5 and WinSock.h issue on Mon, 05 Jun 2017 06:08:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am getting the same error. Please update if you find any solutions regarding this.</p>
]]></description><link>https://forum.qt.io/post/397296</link><guid isPermaLink="true">https://forum.qt.io/post/397296</guid><dc:creator><![CDATA[Ujjwal]]></dc:creator><pubDate>Mon, 05 Jun 2017 06:08:19 GMT</pubDate></item></channel></rss>