[CMake] Cross-compiling with FindQt4.cmake

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jun 22 17:55:15 EDT 2009


On Friday 19 June 2009, Hendrik Sattler wrote:
> Hi,
>
> FindQt4 seems to _completely_ fail for cross-compiling as it depends on
> running qmake. As it finds the hosts qmake executable, all it gets is wrong
> information.

yes, it queries qmake, and since qmake must run on the build host, this will 
not be the information for the target system.
Some work has to be put in this file to make it support cross compiling.

Alex


More information about the CMake mailing list