<?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 Windows apps on Ubuntu with QT Creator]]></title><description><![CDATA[<p dir="auto">I am coding an application that I would like to be cross platform, or at least I would like to be able to easliy build a version for both Linux and Windows (in future also for android).</p>
<p dir="auto">I am using QT Creator 2.5.2 on a linux (Ubuntu) machine and of course I can easily build a version of my application that works on my machine. But how can I build versions that work on other machines such as windows macines? Is there a way to ask QT Creator to build a version of my app for windows? Or will I have to do it outside of QT Creator?</p>
<p dir="auto">I tried to find some hints in other topics of the forums but could not find any, thanks in advance for your help.</p>
<p dir="auto">Mkc.</p>
]]></description><link>https://forum.qt.io/topic/27621/building-windows-apps-on-ubuntu-with-qt-creator</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 08:55:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/27621.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 May 2013 20:48:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building Windows apps on Ubuntu with QT Creator on Mon, 27 May 2013 19:18:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks I'll try out your suggestions :)</p>
]]></description><link>https://forum.qt.io/post/180694</link><guid isPermaLink="true">https://forum.qt.io/post/180694</guid><dc:creator><![CDATA[mkcerusky]]></dc:creator><pubDate>Mon, 27 May 2013 19:18:46 GMT</pubDate></item><item><title><![CDATA[Reply to Building Windows apps on Ubuntu with QT Creator on Sun, 26 May 2013 23:59:31 GMT]]></title><description><![CDATA[<p dir="auto">Generally, the -xplatform argument to ./configure takes care of this. According to &lt; <a href="http://www.linuxjournal.com/content/cross-compiling-qt" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.linuxjournal.com/content/cross-compiling-qt</a> &gt;, its allowed values are mkspecs:</p>
<p dir="auto">Qt4: <a href="http://qt.gitorious.org/qt/qt/trees/4.8/mkspecs" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt.gitorious.org/qt/qt/trees/4.8/mkspecs</a><br />
Qt5: <a href="http://qt.gitorious.org/qt/qtbase/trees/stable/mkspecs" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt.gitorious.org/qt/qtbase/trees/stable/mkspecs</a></p>
<p dir="auto">(Note that some more mkspec directories are under ./unsupported and possibly other directories.)</p>
<p dir="auto">If 32-bit is fine with you (it works on 64-bit, generally), here's another, purportedly simpler solution:</p>
<p dir="auto">Qt4: <a href="http://stackoverflow.com/questions/10934683/how-do-i-configure-qt-for-cross-compilation-from-linux-to-windows-target" target="_blank" rel="noopener noreferrer nofollow ugc">http://stackoverflow.com/questions/10934683/how-do-i-configure-qt-for-cross-compilation-from-linux-to-windows-target</a><br />
Qt5: <a href="http://stackoverflow.com/questions/14170590/building-qt-5-on-linux-for-windows/14170591" target="_blank" rel="noopener noreferrer nofollow ugc">http://stackoverflow.com/questions/14170590/building-qt-5-on-linux-for-windows/14170591</a></p>
]]></description><link>https://forum.qt.io/post/180537</link><guid isPermaLink="true">https://forum.qt.io/post/180537</guid><dc:creator><![CDATA[Jesdisciple]]></dc:creator><pubDate>Sun, 26 May 2013 23:59:31 GMT</pubDate></item></channel></rss>