qmake for cross compile

Rex Dieter rdieter at math.unl.edu
Sun Apr 13 17:56:15 UTC 2008


Neal Becker wrote:

> Anyone have an example of using qmake in .spec to allow
> for x-compilation?  I want an example that will work for
> --target=i386 when used on a x86_64 host.

1.  use mock, really.
2.  Otherwise, it is theoretically possible, provided you use the "right"
qmake (the one provided by qt-devel.i386, not qt-devel.x86_64), and you
have all BR's satisfied with i386 versions (and none of those .i386 deps
have multilib and/or cross-compile issues).

Have I mentioned you should use mock?

-- Rex





More information about the fedora-devel-list mailing list