Qt - Cross-compiling on Windows for Linux

I fail to find any instructions on how to cross-compile a Qt app for linux on the windows platform. So could someone give me or link me to step-by-step instructions on how to do so.

Answers


Install distcc on your Linux machine. Choose one of the distcc compilers as the compiler Qt will use in the projects pane of Qt Creator. Setup the hosts file for distcc to point at your Windows machine and specify the number of jobs you want to send to it.

On the Windows machine, you have two options - get VirtualBox, and put the same Linux OS on that, or use Cygwin. With either of those options, you can install distcc and get it to listen for incoming tasks from your Linux machine.


Need Your Help

How to do sorting in array list without using collections in Java

java sorting arraylist

ArrayList < Integer > arraylist = new ArrayList < Integer > ();