Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize the switch between QtE4.7 and Qtopia

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to achieve the switch between QtE4.7 and Qtopia". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to switch between QtE4.7 and Qtopia.

1. Set the file system that the development board has priority to run

After the source code is compiled, the default is to run Qtopia. Let's talk about how to run QtE4.7 directly.

The "root/etc/init.d/rcS" file needs to be modified here. Open the "root/etc/init.d/rcS" file as shown in the following figure.

After opening the file "rcS", go to the last line of the file, as shown in the following figure, this is the status of the source code, and the system starts

After that, "qtopia" runs by default.

If you want to start "qt-4.7.1" by default, change it to "qtopia" in the image above and change it to "qt4", as shown below

As shown. Note that the modification syntax and format here must be the same as those in the source code.

After modification, the binaries are recompiled and the system runs Qt/E4.7 by default.

Touch Calibration of 2.QtE4.7 and Qtopia2.2.0

If the user runs normally for the first time after burning and writing the image, and after the power outage and restart, the file system appears the error shown in the figure below. This is

Due to the "calibration file is empty" after boot.

If the error in the image above occurs, you need to enter the command "rm-rf / etc/point*" in HyperTerminal, and then type

Command "reboot" to restart the development board, as shown in the following figure.

As pictured above, it can be recalibrated after reboot.

In order to avoid this error, the user needs to follow the "cross" of the screen interface during the calibration phase of the file system, in turn

Click the logo. This process is the calibration phase of the touch screen, ensuring that each calibration is in the position indicated by the system.

3. Switching between QtE4.7 and Qtopia2.2.0 after the system is running

If you have already opened a file system when you enter the switch command, you need to close the process that started the file system first.

The following example shows how to shut down the process of a file system.

As shown in the following figure, the Qtopia2.2.0 file system is already running.

As shown in the following figure, enter the command "ps" to view the system process.

As shown in the following figure, use the kill command to shut down the process of Qtopia2.2.0

Then enter the switch command "qt4" to switch to Qt/E4.7.

After the Qt/E4.7 file system starts up, switch to Qtopia2.2.0, using a similar method as above, here

No more repetitive explanations.

At this point, I believe you have a deeper understanding of "how to achieve the switch between QtE4.7 and Qtopia". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report