Hi,
I'm using a i.MX6Q Sabre Lite Board running a kernel and rootfs from linaro-12.09(Ubuntu-12.04) release. I would like to cross compile Qt applications for this board, could you guys give me a hint on this? I've been trying without successs. Thanks for your support.
Assuming you want to cross compile from a Linux x86 host and use QMake, you need to: * have a cross compiler [1] on your host * tweak a QMake spec to use your cross compiler * (optional) sysroot for the targeted system
Check qws directory for a qmake mkspecs example.
Note: It will work with simple Qt applications using QMake but might fail with complex applications as you'll need a sysroot for the targeted system that includes all needed build dependencies (development libraries, etc...). Another option is to use latest Qt SDK (Qt 4.8.1 support).
[1] https://launchpad.net/linaro-toolchain-binaries/trunk/2012.10
Cheers,
Fathi