[Qt-creator] Cross compilation

alexis jeandet alexis.jeandet at lpp.polytechnique.fr
Thu Sep 3 10:23:06 CEST 2015


Hi Diego,
Le jeudi 03 septembre 2015 à 11:07 +0300, Diego Iastrubni a écrit :
> A small tip foe anyone in a similar situation: 
> 
> I am doing the opposite (develop on linux - deploy on windows). 
> 
> To cross compile from Fedora to Windows, you can install a Qt
> tooclhain for mingw, and then execute "mingw32-qmake-qt5", followed
> by  a normal "make". This will generate an EXE for you. All can be
> installed from Fedora's "dnf" (on older fedoras use "yum"). To
> install issue those commands (and probably other packages). 
> 
>            dnf install mingw32-qt5-qmake  mingw32-qt5-qtbase-devel
> 
> If anyone has a way of creating MSI files from Linux - I will be
> happy to learn. If anyone knows how to generate the DLL list to
> distribute - I will be happy to learn.
> 
On fedora you have mingw32-nsis, doesn't build MSI but you can make
.exe setup with it. Then for my part to get the dll list, I test my
setup on a windows machine and add the dll he miss until it stop to
complain, a tool as good as ldd would be great for that.
> On Tue, Sep 1, 2015 at 8:38 AM, Ariel Molina > <ariel at edis.mx>>  wrote:
> > I don't think there is any and it might go beyond this list's interest, and you may get into real trouble. I would go for installing a VMWare machine, it's a lot easier.> > > > OTOH a simple Google gives this: http://stackoverflow.com/questions/4769968/c-cross-compiler-from-windows-to-linux but my guess is that you will need a sysroot image and whatnot, just like cross compiling for ARM.
> > > > My bet: go virtual.

> > On Tue, Sep 1, 2015 at 12:07 AM, Arun Bharathi > > <arunbharathimca at gmail.com>> >  wrote:
> > > Hi,> > > I am developing an application in Qt under Windows OS. I need to deploy as well in linux OS. 
> > > What is the procedure to cross compile for linux under windows. Is there any tutorial? Please help me.

> > > Kind Regards.> > > 

> > > P.Arun Bharathi> > > 
> > > 

> > > 

> > > _______________________________________________
> > > 
> > > Qt-creator mailing list
> > > 
Qt-creator at qt-project.org
> > > 
http://lists.qt-project.org/mailman/listinfo/qt-creator
> > > 

> > 

> > > > -- 
> > Ariel Molina R.> > > > Oficina: +52 (222) 3723196Movil: +521 2226 758874
> > http://edis.mx
> > 

> > 

> > _______________________________________________
> > 
> > Qt-creator mailing list
> > 
Qt-creator at qt-project.org
> > 
http://lists.qt-project.org/mailman/listinfo/qt-creator
> > 



> _______________________________________________
> Qt-creator mailing list
> 
Qt-creator at qt-project.org> 
http://lists.qt-project.org/mailman/listinfo/qt-creator> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150903/0540f3c4/attachment.html>


More information about the Qt-creator mailing list