Attached files enable Qt cross compilation for an arm target.
Created attachment 238343 [details, diff] patch to qt4-build eclass
Created attachment 238345 [details, diff] patch to qt-core ebuild
Created attachment 238347 [details, diff] patch to qt-phonon ebuild
Doesn't Qt cross-compiles if you build an arm toolchain?
(In reply to comment #4) > Doesn't Qt cross-compiles if you build an arm toolchain? The patches are using the arm toolchain. You can see the changes are wrapped with tc-is-cross-compiler I'm building an image for a device using Gentoo ARM stage3 and a crossdev toolchain.
Created attachment 238349 [details] linux-cross-g++/qmake.conf forgot the actual config files
Created attachment 238351 [details] linux-cross-g++/qplatformdefs.h forgot the actual config files
Matthias, thanks for your patches. IMHO it's more a hack than proper cross compilation support... but anyway we will have to look into it. There's also bug #305501 about this.
*** Bug 305501 has been marked as a duplicate of this bug. ***
*** Bug 503950 has been marked as a duplicate of this bug. ***