Building the Qt environment for ARM9 development board

Publisher:cwm6269310Latest update time:2016-04-20 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Note: Do not use the QT that comes with the package or installed using apt-get. If there is any, delete it. The development board must be able to mount NFS. This article uses other people's teaching materials, but I have slightly modified them. Because when I first looked for files to do it, I found many mistakes that were easy to make, which are explained here.

 

Required original documents:

a. arm-linux-gcc-3.4.1.tar.bz2

 b. Qt-4.6.3-arm.tar.bz2

c. Qt-4.6.3-x86.tar.bz2

d. Qt-4.7.0.tar.bz2

e. Qt-sdk-linux-x86-opensource_2010.02.bin

f. tslib-1.4.tar.gz

Steps:

1. Check if there is g++ on the computer: g++ --version,

If not, install it using the following command: sudo apt-get install g++

 

2. Check if there is arm-linux-gcc: arm-linux-gcc –version,

  If not, please use step 4 to install it. If yes, skip step 4.

4. Unzip arm-linux-gcc-3.4.1.tar.bz2

sudo tar jxvf arm-linux-gcc-3.4.1.tar.bz2 -C / Automatically decompress to usr/local

Enter /usr/local/arm/3.4.1/bin/ and enter pwd

Set to environment variables: sudo gedit /etc/environment

Add it in the format: /usr/local/arm/3.4.1/bin (arm-linux-gcc path)

 

                     

After saving, source /etc/environment (to make the environment variables take effect)

arm-linux-gcc Checks if the command exists

 

5http://www.appfreeapp.com/, unzip and install the touch screen driver

1 # sudo apt-get install libtool 2 # sudo apt-get install autoconf 3 #sudo apt-get install automake 4 #tar xzvf tslib-1.4.tar.gz 5 #cd tslib 6 # ./autogen.sh 7 # CC= arm-linux-gcc 8 # echo "ac_cv_func_malloc_0_nonnull=yes" > arm-linux.cache 9 # ./configure --prefix=/opt/ts/ --host=arm-linux --cache-file=arm-linux. cache10 # make11 # sudo make install

 

There may be a parameter error. Add 0 after the parameter in lines 227 and 229 of the file /tests/calibrate.c and try again.

make

 

6. Add the compiled touch screen driver to the board

6.1、cp the cross-compiled ts file to the corresponding directory in the development board, where include in warez-bb

The pkgconfig directory under the directory and lib does not need to be copied.

cp -rf /opt/ts /home/zrx/s3c2440_recover/opt/ts

Reference address:Building the Qt environment for ARM9 development board

Previous article:What are the differences and connections between ARM, DSP, FPGA, CPLD, SOPC, and SOC?
Next article:The expansion design of S3C2410 processor

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号