<?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 5 on Linux, for Windows]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I tried to follow <a href="https://stackoverflow.com/questions/14170590/building-qt-5-on-linux-for-windows" target="_blank" rel="noopener noreferrer nofollow ugc">Building Qt 5 on Linux, for Windows</a> to be able to create a Windows version of my application. Following the tutorial went well until I was supposed to execute <strong>mxe/usr/bin/i686-w64-mingw32.static-qmake-qt5</strong> in my source directory, I received the error: <strong>Project ERROR: Cannot run target compiler 'i686-w64-mingw32.static-g++'. Maybe you forgot to setup the environment?</strong>.<br />
All I've found Googling around is, from people who've experienced this same error on Windows where they would run a batch file called <strong>vcversall.bat</strong> to get things straigted out but since I'm on Linux, I do not know what to do instead, can anyone help?</p>
]]></description><link>https://forum.qt.io/topic/84195/building-qt-5-on-linux-for-windows</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 21:00:07 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/84195.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Oct 2017 14:26:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building Qt 5 on Linux, for Windows on Sun, 15 Oct 2017 15:19:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a> said in <a href="/post/420878">Building Qt 5 on Linux, for Windows</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cerr">@<bdi>cerr</bdi></a><br />
Hi<br />
And you did something like<br />
export PATH=&lt;mxe root&gt;/usr/bin:$PATH<br />
as mentioned in the link ?</p>
</blockquote>
<p dir="auto">No, that actually was my problem! Thanks for pointing this out, I must have read over that comment...</p>
]]></description><link>https://forum.qt.io/post/420887</link><guid isPermaLink="true">https://forum.qt.io/post/420887</guid><dc:creator><![CDATA[cerr]]></dc:creator><pubDate>Sun, 15 Oct 2017 15:19:02 GMT</pubDate></item><item><title><![CDATA[Reply to Building Qt 5 on Linux, for Windows on Sun, 15 Oct 2017 14:33:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cerr">@<bdi>cerr</bdi></a><br />
Hi<br />
And you did something like<br />
export PATH=&lt;mxe root&gt;/usr/bin:$PATH<br />
as mentioned in the link ?</p>
]]></description><link>https://forum.qt.io/post/420878</link><guid isPermaLink="true">https://forum.qt.io/post/420878</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sun, 15 Oct 2017 14:33:52 GMT</pubDate></item></channel></rss>