(C++) How to cross-compile a Qt Creator project from Ubuntu to a windows executable? Approach 23: Hello World, using MinGW build script

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) STLQt CreatorUbuntutoQt CreatorWindows How to cross-compile a Qt Creator project from Ubuntu to a windows executable? Approach 23: Hello World, using MinGW build script

 

Approach to cross-compile a Qt Creator project from Ubuntu to a windows executable?.

 

 

 

 

 

Environment information

 

Operating system(s) or programming environment(s):

IDE(s):

Project type:

  • console Console application

Compiler(s):

Libraries used:

 

 

 

 

 

Project file

 


 

 

 

 

 

Source code

 

Hello World source code.

 

 

 

 

 

Process

 

Download the shell script from [1]. Started the shell script. It seems to be some kind of installer. Running it ended with:

 


./x86-mingw32-build.sh: checking package availability ... gcc-core-3.4.5-20060117-2-src.tar.gz ... missing ... ./x86-mingw32-build.sh: unable to continue

 

Abandoning this approach.

 

 

 

 

 

 

 

 

 

 

 

References

 

  1. MinGW cross compiler for Linux build environment