################## js-build-qtopia 0.1 ###################################### # # See the end of this file for changelog # # This is a script that hopefully can make building qtopia much easier. # It builds qtopia 2.1.1 (free version) on top of qte 2.3.10 (free version), # together with all necessary libraries. The build process is more simplified # than the instructions supplied by Trolltech. It will automatically # download all the source tarballs, untar them, configure them, build them # install them in an output directory which you can copy over to the your # final root fs. # # You will need to have a ready-to-use cross-build environment (cross # compiler, linker, C lib, etc). You need to tell the script where # cross tools are. You can also configure a few build options (such as # whether you need to build certain libraries) # # I assume the build host is a linux on i386. Because of this assumption # I included a pre-built i386/linux static binary version of uic and as # a result you can skip building a bunch of craps. # # Additionally I assume you are building for ARM, which are reflected # invarious config options. It is possible to build for other arches # once you take care all the cross paths and config options. # # We also assume you only build for the target. As a result we don't # do qvfb and other host tools. # # This has been tested with uclibc toolchain (buildroot). Please let me if you # have tested it on other platforms and any feedbacks in general. # # Jun Sun (jsun@junsun.net) # # TODO's: # . The script assumes tslib is always needed. We can make it more flexible # so that proper configuration is selected depending TSLIB is selected or not. # # . We can make the script more robust by checking whether all the needed # libraries and headers are present. ############################################################################