Cross-Compilation of arm & qtpoia2.2 records in redhat9.0
Source: Internet
Author: User
Cross-compiling arm & amp; qtpoia2.2 in redhat9.0 records general Linux technology-Linux programming and kernel information. The following is a detailed description. The new project is about to begin. It is developed using qt in linux, and the motherboard uses the freescale iMX21 Board. As the learning board they provide has qtopia2.1, for the purpose of learning and in-depth research. Start my learning process on qt:
1. Development Environment
HOST environment:
System: redhat9.0 fully installed
Cross-tool arm 2.9.53 TARGET environment
FreescaleiMX21 (ARM9)
320*240 screen + Touch Screen
Software:
1.qtopia-free-src-2.2.0.tar.gz
2.e2fsprogs-1.39.tar.gz
3.20.src.v6b.tar.gz
4.libpng-1.2.14.tar.bz2
5.tslib-1.3.tar.bz2
6.zlib-1.2.3.tar.bz2
7.freetype-2.1.4.tar.bz2
Note: Cross-compiling has been performed before 2-6, and relevant library files and header files are placed in the Cross Compiler respectively.
Arm-linux/lib
Under the arm-linux/include directory
The working directory is/home/nfs.
2. Cross-compilation process
2.1install freetype-2.1.4.tar.bz2
After decompression, go to the decompressed directory and execute the following command:
./Configure -- prefix =/usr
Make
Make install
2.2 decompress qtopia-free-src-2.2.0.tar.gz
Tar zxvf qtopia-free-src-2.2.0.tar.gz
2.3 obtain the local running uic Tool
: Http://vanille.de/tools/uic-qt2
Change permissions:
Chmod u + rx uic-qt2
Rename:
Music uic-qt2 uic
Copy to qtopia-free-2.2.0/qt/bin
Cp uic/home/nfs/qtopia-free-2.2.0/qt/bin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.