I am assuming that you are the person who has kindly provided the Quantum Step tool chain. Please let me know if I am wrong. I want to use QS to develop Zaurus apps but there are a few things missing.
As you suggest, I think I have to compile my own QT/embedded and Qtopia for emulation.
QUOTE(dhns @ Apr 30 2009, 12:38 AM)
QUOTE(koan @ Apr 29 2009, 01:59 AM)
You don't need ARM binaries - they are already on the Zaurus and can be produced by the cross compiler.
Well, yes and no.
You certainly need some tools to run on the Mac to develop Qt applications. These are gcc and the tools you mention.
And, some libraries/tools need to be available in ARM-ELF version on the Mac so that gcc can properly link against them. To do that, it reads the symbol table of the ELF objects.
Maybe, you also need to install the native Qt development tools and then take whichever part you need.
To develop apps I need:
- Cross compiler toolchain (Mac)
- OS libraries (ARM)
- QT embedded libraries (ARM)
- Qtopia libraries (ARM)
- Sharp support library: libsl (ARM)
- QT build tools, such as moc and maybe others (Mac)
- Include files for above (system, QT, Qtopia, Sharp)
- tmake (Perl script with configuration for Zaurus)
- dev-arm-qpe.sh (Shell script to set paths)
QS only has the toolchain, OS libraries and system include files. I have found a suitable tmake configuration, written a dev-arm-qpe.sh script and found some of the Sharp specific includes.
Qtopia is supplied by QS, but as you can see from my post above, it is compiled for Linux i386. I can't use this to emulate on Mac and I can't use it for linking when cross compiling because it is not ARM. To be honest, I'm a bit confused about why it is included in the archive because I can't see how I can use it.
I think you should either offer the toolchain plus system includes only, or package everything in the list above plus QT embedded (Mac) and Qtopia (Mac) for emulation. If you package everything then that would be a very nice set up.
A final point: the layout of QS is confusing! Especially arm-quantumstep-linux-gnu/arm-quantumstep-linux-gnu