Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
This is example 5, and a failed solutions of answering the Qt FAQ How to cross-compile a Qt Creator project from Ubuntu to a windows executable?, which follows [1].
Project information
The project is a standard Hello Boost program.
I set the qmake arguments to '-xplatform win32-g++' and got the following error:
***Unknown option -xplatform |
[3-5] do not mention the existence of the '-xplatform' option.
What is important is if you want to build Qt static or dynamic, if you want to use platform libs for various features (libjpeg, zlib, libpng, etc). Another important, and not so straight forward, configuration option is the compiler to use. This is controlled by what is known as an mkspec - a make specification. |
-spec spec |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.