[Interest] Nice blog posts about cross-compiling Qt apps from windows to linux & mac

Nikos Chantziaras realnc at gmail.com
Mon Jan 29 17:28:51 CET 2018


The linux to windows approach seems way more complicated than it needs 
to be. You can just use this:

   http://mxe.cc

I've had very good results and it's trivial to set up. You just enter:

   make JOBS=<cpu threads> qt5

and you've got a full cross-compiler, using static linking by default.


On 29/01/18 17:55, Jean-Michaël Celerier wrote:
> Not enough coffee today... the title should read: "from linux to windows 
> and mac" instead.
> 
> On Mon, Jan 29, 2018 at 4:10 PM, Jean-Michaël Celerier 
> <jeanmichael.celerier at gmail.com <mailto:jeanmichael.celerier at gmail.com>> 
> wrote:
> 
>     https://hackernoon.com/a-c-hello-world-and-a-glass-of-wine-oh-my-263434c0b8ad
>     <https://hackernoon.com/a-c-hello-world-and-a-glass-of-wine-oh-my-263434c0b8ad>
>     https://hackernoon.com/a-c-hello-world-and-the-cute-heartless-rainbow-3cc9695f4142
>     <https://hackernoon.com/a-c-hello-world-and-the-cute-heartless-rainbow-3cc9695f4142>
>     https://medium.com/@corentin.jabot/a-c-hello-world-and-the-rose-gold-walled-garden-of-doom-4ac3c92385ed
>     <https://medium.com/@corentin.jabot/a-c-hello-world-and-the-rose-gold-walled-garden-of-doom-4ac3c92385ed>
> 
>     If these can be useful... maybe one day we will be able to just hit
>     "compile" from qtcreator and get an appimage, a NSIS installer and a
>     .dmg in one go !
> 
>     Best,
>     -------
>     Jean-Michaël Celerier
>     http://www.jcelerier.name
> 
>     _______________________________________________
>     Interest mailing list
>     Interest at qt-project.org <mailto:Interest at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/interest
>     <http://lists.qt-project.org/mailman/listinfo/interest>
> 
> 
> 
> 





More information about the Interest mailing list