<?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[Deploying for Windows and Mac]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have created a small little app on a Mac and I was wondering what would be the steps to compile this little application to create an executable file for Windows.</p>
<p dir="auto">I actually copied the two folders where the project resides to my Windows machine but as expected I got an error.</p>
<p dir="auto">bq. Error while building project applicationName(target: Desktop)<br />
When executing build step 'qmake'</p>
<p dir="auto">What would be the proper procedure to create an .exe file for Windows after creating the app on a Mac?</p>
<p dir="auto">Thanks a lot for your help!</p>
]]></description><link>https://forum.qt.io/topic/15727/deploying-for-windows-and-mac</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 07:53:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/15727.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Apr 2012 14:16:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Deploying for Windows and Mac on Tue, 10 Apr 2012 20:05:00 GMT]]></title><description><![CDATA[<p dir="auto">Oops, sorry for the messed up path. Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/mlong">@<bdi>mlong</bdi></a>!</p>
]]></description><link>https://forum.qt.io/post/135302</link><guid isPermaLink="true">https://forum.qt.io/post/135302</guid><dc:creator><![CDATA[miroslav]]></dc:creator><pubDate>Tue, 10 Apr 2012 20:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Deploying for Windows and Mac on Mon, 09 Apr 2012 19:42:04 GMT]]></title><description><![CDATA[<p dir="auto">I apreciate it.  Thanks a lot!</p>
]]></description><link>https://forum.qt.io/post/135127</link><guid isPermaLink="true">https://forum.qt.io/post/135127</guid><dc:creator><![CDATA[fs_tigre]]></dc:creator><pubDate>Mon, 09 Apr 2012 19:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to Deploying for Windows and Mac on Mon, 09 Apr 2012 19:15:52 GMT]]></title><description><![CDATA[<p dir="auto">The link should work now.</p>
]]></description><link>https://forum.qt.io/post/135126</link><guid isPermaLink="true">https://forum.qt.io/post/135126</guid><dc:creator><![CDATA[mlong]]></dc:creator><pubDate>Mon, 09 Apr 2012 19:15:52 GMT</pubDate></item><item><title><![CDATA[Reply to Deploying for Windows and Mac on Mon, 09 Apr 2012 19:09:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot for your help!</p>
<p dir="auto">I will give it a try. For some reason the link doesn't work, but I guess my homework is to find good tutorials.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/post/135125</link><guid isPermaLink="true">https://forum.qt.io/post/135125</guid><dc:creator><![CDATA[fs_tigre]]></dc:creator><pubDate>Mon, 09 Apr 2012 19:09:20 GMT</pubDate></item><item><title><![CDATA[Reply to Deploying for Windows and Mac on Mon, 09 Apr 2012 18:03:36 GMT]]></title><description><![CDATA[<p dir="auto">The benefit of using a repository is that there is a managed process of working with multiple setups and tracking changes done for the different target platforms. It is one of the first things to learn when developing code, just as important as the coding itself.</p>
<p dir="auto">For an introduction to Github, see <a href="http://learn.github.com/p/intro.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://learn.github.com/p/intro.html</a></p>
<p dir="auto">By the way, your initial error message looks like QMake is not in the path.</p>
<p dir="auto"><em>[Edit: Fixed path by removing . from the end; mlong]</em></p>
]]></description><link>https://forum.qt.io/post/135110</link><guid isPermaLink="true">https://forum.qt.io/post/135110</guid><dc:creator><![CDATA[miroslav]]></dc:creator><pubDate>Mon, 09 Apr 2012 18:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to Deploying for Windows and Mac on Mon, 09 Apr 2012 14:11:38 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your reply.</p>
<p dir="auto">This is how I did it.</p>
<p dir="auto">1-Created a new project in my Windows machine.<br />
2-Copied the files from the project created on the Mac (main.cpp,mainwindow.cpp, mainwindow.ui etc ) and replaced the files in the Windows machine, and it did the trick.</p>
<p dir="auto">bq. Firstly, you need to clean the source directory before copying the files over (side note: Dude, get a source code repo, there is Github and tons of other free options!).</p>
<p dir="auto">I do have an account but I have never use it because I don't see how this could help me if I'm not collaborating with any body, in fact I don't even know how to use Github.</p>
<p dir="auto">Excuse my ignorance but what would be the benefit of using Github?</p>
<p dir="auto">Can you please give me a quick explanation on how you use Github?</p>
<p dir="auto">Thanks a lot</p>
]]></description><link>https://forum.qt.io/post/135082</link><guid isPermaLink="true">https://forum.qt.io/post/135082</guid><dc:creator><![CDATA[fs_tigre]]></dc:creator><pubDate>Mon, 09 Apr 2012 14:11:38 GMT</pubDate></item><item><title><![CDATA[Reply to Deploying for Windows and Mac on Sun, 08 Apr 2012 19:46:08 GMT]]></title><description><![CDATA[<p dir="auto">Just copying in the folder probably means that you copied all kinds of temporary files created by the Mac build along with the source code. This will not work (tm). For example, Makefiles generated on Mac for the Mac C++ compiler will not work at all on Windows.</p>
<p dir="auto">Firstly, you need to clean the source directory before copying the files over (side note: Dude, get a source code repo, there is Github and tons of other free options!).</p>
<p dir="auto">Then run qmake on Windows on the .pro file to generate Windows build files. How to do that depends on your compiler and setup. See <a href="http://qt-project.org/doc/qt-4.8/qmake-tutorial.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/qmake-tutorial.html</a> for how to use QMake.</p>
]]></description><link>https://forum.qt.io/post/134979</link><guid isPermaLink="true">https://forum.qt.io/post/134979</guid><dc:creator><![CDATA[miroslav]]></dc:creator><pubDate>Sun, 08 Apr 2012 19:46:08 GMT</pubDate></item></channel></rss>