Building QT/Embedded4.8.5 development environment on s3c2410 (Part 4)

Publisher:数据梦行者Latest update time:2021-08-12 Source: eefocusKeywords:s3c2410  QT Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

【Target board】s3c-2410


[Virtual machine] CentOS6.4 kernel-2.6.32


【Compiler】gcc-4.4.6


Currently, among the 4.8.5 versions on the QT official website, Qt libraries 4.8.5 for Linux/X11 (230 MB) (Info) and Qt libraries 4.8.5 for embedded Linux (230 MB) (Info) are actually the same source code package, but you can use different compilers to compile two different QT versions for arm and x86.


Their packages are all called qt-everywhere-opensource-src-4.8.5.tar.gz


 Click on the two packages in the blog to download directly


Install

①First, make sure that you have installed the gcc and g++ compilation environments on your machine.


②Then install QT. We call the version on the QT host Linux-QT/X11


Install QT and execute the following commands in sequence


tar -xvf qt-everywhere-opensource-src-4.8.5.tar.gz

cp -rf qt-everywhere-opensource-src-4.8.5 qt-4.8.5-x11-src

cd qt-4.8.5-x11-src

./configure -prefix /opt/qt-4.8.5-x11

make

make install

Please see --help for the specific configure parameters. However, we don't need any special configuration when using it on the host machine. Just use the default -prefix /opt/qt-4.8.5-x11, which means QT-X11 is installed in the directory under /opt/qt-4.8.5-x11. I usually use this directory as my embedded development environment. You can set it according to your habits.


Installation and configuration of qvfb

As mentioned earlier, qvfb is for use with QT on the x86 architecture, but needs to be compiled with the x11 source code.

So we execute the following command

cd qt-4.8.5-x11-src/tools/qvfb

make

cp ../../qvfb /opt/qt-4.8.5-x86/bin


Keywords:s3c2410  QT Reference address:Building QT/Embedded4.8.5 development environment on s3c2410 (Part 4)

Previous article:Building QT/Embedded4.8.5 development environment on s3c2410 (Part 1) --- Environment Introduction
Next article:Building QT/Embedded4.8.5 development environment on s3c2410 (VI) --Configuration of QtCreate

Recommended ReadingLatest update time:2024-11-23 11:09

Spreadtrum completes 5G terminal slicing technology trial of China IMT-2020 (5G) Promotion Group
On November 2, 2021, under the guidance of the IMT-2020 (5G) Promotion Group, Unisoc successfully completed all test items of the 5G terminal slicing technology trial, verifying that Unisoc's 5G chips have basically the ability to support terminal slicing, laying the foundation for the large-scale commercial use of 5G
[Network Communication]
stm8s: GPIO configuration, light up the LED! PB4, PB5 pin LEDs do not light up
I have been developing STM8S103 for the past two days. After adjusting the hardware, I started to write the software. The first step was to light up the LED light. It turned out to be embarrassing that it just wouldn't light up! Later, I searched Baidu and carefully checked the data sheet, only to find a big pitfall.
[Microcontroller]
stm8s: GPIO configuration, light up the LED! PB4, PB5 pin LEDs do not light up
stm8s development (V) Use of TIMER: timing!
STM8S provides three types of TIM timers: advanced control type (TIM1), general type (TIM2/TIM3/TIM5) and basic timer (TIM4/TIM6). Although they have different functions, they are all based on a common architecture. This common architecture makes it very easy and convenient to design applications using various timers
[Microcontroller]
stm8s development (V) Use of TIMER: timing!
STM8L timer2 generates PWM
Introduction This article introduces how to use timer2 in the STM8L series to generate 38K frequency PWM. Among them, this article uses the first channel (PB0) of timer2. experiment platform Compiler software: IAR for STM8 1.42.2 Hardware platform: stm8l101f3p6 development board Emulator: ST-LINK Library version: ST
[Microcontroller]
STM8L timer2 generates PWM
stm8s development (nine) Use of EEPROM: Use EEPROM to store data!
EEPROM is a memory often used in microcontroller application systems. It is mainly used to save some data that needs to remain unchanged after power failure. In previous microcontroller systems, an EEPROM chip was usually added outside the microcontroller. This method not only increases costs, but also reduces reliabi
[Microcontroller]
Samsung releases Galaxy Tab S8 series flagship tablet in China: 14.6-inch giant screen, starting at 4999 yuan
On the evening of February 22, 2022, Samsung officially launched the new Galaxy Tab S flagship tablet in China - the Samsung Galaxy Tab S8 series, including three tablets: Galaxy Tab S8, Galaxy Tab S8+ and Galaxy Tab S8 Ultra. Samsung said that in this era of video social networking and mobile office, the Samsung Ga
[Mobile phone portable]
Production of 5*4 matrix keyboard calculator with single chip microcomputer
This design is a calculator simulation system design with STC89C52 microcontroller as the core. The input uses a 5×8 matrix keyboard, which can perform more than a dozen digital operations such as addition, subtraction, multiplication and division. It also supports nested parentheses and floating-point operations, and
[Microcontroller]
Production of 5*4 matrix keyboard calculator with single chip microcomputer
STM8L Exploration Kit Study Notes - Window Watchdog WWDG (Seventeen)
The Window Watchdog (WWDG) is often used to monitor software failures caused by external interference or unforeseen logic conditions that cause the application to deviate from the normal operating sequence. The watchdog circuit will generate an MCU reset when the preset time period is reached, unless the down counter v
[Microcontroller]
Latest Microcontroller Articles
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号