Linux version running MeeGo SDK

Source: Internet
Author: User

 

Prerequisites

  • You must have an effective popular Linux release (such as Fedora 13, Ubuntu 10.04LTS, openSUSE 11.3) and run it on a suitable popular hardware, for example, 32-bit Intel Atom or Intel dual-core CPU
  • If you are planning to use QEMU, you must confirm that your master system supports VT. view the detailed steps on this page to confirm your system capabilities
  • To install required components, you must log on to the system as the root user.

Sudo-I
Provide your password when prompted

Configure the release Package Manager
On Debain or Ubuntu

  1. In/etc/apt/sources. add the following text to the list file. you can also create/etc/apt/sources. list. d/meego-sdk, and enter the following text.

Deb http://repo.meego.com/meego/sdk/host/repos/?#distribution#/##version= }//

Note: Based on your linux version, replace the $ {distribution}/$ {version} string with "debian/5.0", "ubuntu/09.10", or "ubuntu/10.04"

2. Add the following repository key

$ Sudo gpg -- keyserver pgpkeys.mit.edu -- recv 0BC7BEC479FC1F8A

$ Sudo gpg -- export -- armor 0BC7BEC479FC1F8A | sudo apt-key add-

3. Update the software package Database

$ Sudo apt-get update

4. Check that the MeeGo code repository is added to the file tomorrow. For example, use the following command

$ Sudo apt-cache policy madde

If the code repository has been successfully added, this command prints detailed MADDE package information.

Under Fedora

1. Go to the yum repository directory

# Cd/etc/yum. repos. d/

2. Add the yum repository of MeeGo SDK

# Wget requests

Note: Based on your linux version, replace the $ {distribution}/$ {version} string pair: "fedora/12" or "fedora/13 ".

3. Install the signature key

# Rpm -- import metadata

4. Update the software package Database

# Yum update

Under MeeGo
Run the following command to install the MeeGo code repository:

Zypper addrepo-f accept

Note: Based on your linux version, replace the $ {distribution}/$ {version} string pair: "meego/1.1" or "meego/trunk ".

In openSUSE
Run the following command to add the MeeGo code repository:

Zypper addrepo-f accept

Note: Based on your linux version, replace the $ {distribution}/$ {version} string pair: "opensuse/11.2" or "opensuse/11.3 ".

Install MeeGo SDK

Debian/Ubuntu

$ Sudo apt-get install meego-sdk

Fedora

# Yum install meego-sdk

OpenSUSE

# Zypper install meego-sdk

The following command only applies to ARM

Debian/Ubuntu

$ Sudo apt-get install meego-sdk-armv7l

Fedora

# Yum install meego-sdk-armv7l

OpenSUSE

# Zypper install meego-sdk-armv7l

The following command only applies to Intel Atom

Debian/Ubuntu

$ Sudo apt-get install meego-sdk-ia32

Fedora

# Yum install meego-sdk-ia32

OpenSUSE

# Zypper install meego-sdk-ia32

Use MADDE to create and test the target file
1. Create MeeGo target in MADDE

$ Sudo mad-admin create-f <target>

<Target> is a meego-core-armv7l-1.1, meego-handset-ia32-1.1, or meego-netbook-ia32-1.1
Note: The-f flag instructs MADDE to first download and install the appropriate sysroottar package. If you are in trouble, find a solution from the web page on this Web site. http://wiki.meego.com/MeeGo_SDK_Troubleshooting#General_SDK_Errors
2. Check whether target and toolchain can be found in MADDE.

$ Mad-t <target> pscreate-t qt-simple qthello
$ Cd qthello
$ Mad-t <target> qmake
$ Mad-t <target> make

<Target> is a meego-core-armv7l-1.1, meego-handset-ia32-1.1 ormeego-netbook-ia32-1.1

3. Check whether the qt-simple application has been created for the target and run file build/qthello.
MADDE can also be used to create runtimes (MeeGo simulation device) and run and debug applications. even if you only want to develop on the real device that runs MeeGo, you do not need to create runtimes.

Use MeeGo toolchain to configure Qt Creator

1. Open Tools> Options> Qt4> Qt Versions.

2. Click "+" on the right of the Qt Versions interface to add a new version.

A blank table appears on the Qt Versions page.

3. In the Version Name line, specify the Name of the new Version.

4. In the qmake location row, specify the directory of the qmake file. Toolchain is installed in usr/lib/madde/linux-i686/targets/<target>/bin/qmake by default.

5. Click Rebuild, Apply, and OK.

SDK Development

If you want to use the MeeGo SDK for development, helloworld is a good choice.

This tutorial includes how to start a project, package and publish it to a device (whether it is a real device or QEMU runtime started through MADDE)

Remove component

$ Sudo apt-get autoremove

On ubuntu
To remove an installed component, run

$ Sudo apt-get remove -- purge meego-sdk-qtcreator
$ Sudo apt-get remove -- purge madde qt-tools
$ Sudo apt-get remove -- purge arm-2009q1
$ Sudo apt-get remove -- purge qemu-arm qemu-gl

Remove a trust relationship with the installed components and execute

$ Sudo apt-get autoremove

Delete the MADDE directory

$ Sudo rm-rf/usr/lib/madde

Delete the software packages in your local code library (/var/cache/apt/archives/) and execute

$ Sudo apt-get clean

On openSUSE
Remove the installed component and run

# Zypper remove-u meego-sdk-qt-creator
# Zypper remove-u madde qt-tools
# Zypper remove-u arm-2009q1
# Zypper remove-u qemu-arm qemu-gl

Delete the installed MADDE directory

# Rm-rf/usr/lib/madde

Http://wiki.meego.com/SDK/Docs/1... MeeGo_SDK_for_Linux

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.