MeeGo Mobile Application Development

Source: Internet
Author: User

We once talked about "Building MeeGo Touch development environment under qt sdk". This article will introduce the Qt applications of MeeGo handset, including table manager and window manager, and various applications, you will see that Qt is everywhere. This article briefly introduces how to build a MeeGo Handset environment in Linux.

Download preparation SDK

Only two files are to be downloaded. One is the MeeGo image file and the other is the script file. You can refer to the following command

 
 
  1. zhu@CuteQt:~$ cd meego/  
  2. zhu@CuteQt:~/meego$ wget http://download3.meego.com/meego-sdk-chroot  
  3. zhu@CuteQt:~/meego$ chmod +x meego-sdk-chroot  
  4. zhu@CuteQt:~/meego$ wget http://download3.meego.com/meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0729.tar.bz2  
  5. zhu@CuteQt:~/meego$ tar xjf meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0729.tar.bz2  
  6. zhu@CuteQt:~/meego$ mkdir rootfs  
  7.  

Execute to start the MeeGo Environment

In linux, MeeGo uses the chroot environment to run the ui on the Xephyr server. The command is as follows:

 
 
  1. zhu@CuteQt:~/meego$ sudo mount -o loop,offset=512 meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0729/meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0729.raw rootfs  
  2. zhu@CuteQt:~/meego$ sudo ./meego-sdk-chroot rootfs/  
  3. root@meego-handset-sdk:/# startmeego  
  4.  

Note the prompt before the command. startmeego runs in the chroot environment and is a script file. If you are interested, you can open it directly using vi. Now you can see the MeeGo running in Xephyr and perform operations.

Look at the source code

Since all the code is written by Qt, let's look at the source code. However, the package management tool in the downloaded MeeGo image file only contains Zypper and does not have Yum. You can run the following command to install the yum tool.

 
 
  1. root@meego-handset-sdk:/# zypper install yum  
  2. root@meego-handset-sdk:/# zypper install yum-utils  
  3.  

Use yumdowloader-source packagename to download the source code. For example, if you want to view fennec-qt code, use the following command:

 
 
  1. root@meego-handset-sdk:/# yumdownloader –source fennec-qt  
  2.  

Unzip the rpm package by running the installation command. The source code is installed in the $ HOME/rpmbuild/SOURCES directory.

 
 
  1. root@meego-handset-sdk:/# rpm -i filename.rpm  
  2.  

Description

This article is the most basic introduction of Xephyr-based Development. MeeGo can also be developed in QEMU. I will write out my learning experience and communicate with you one after another.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.