Meego Wiki
Views

SDK/Docs/1.2-preview-under-progress

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Update MeeGo SDK 1.1.80 or 1.2 targets)
Line 123: Line 123:
* For detailed usage of meego-sdk-update-target, please refer to http://wiki.meego.com/SDK/Tutorials/Add_a_new_target.
* For detailed usage of meego-sdk-update-target, please refer to http://wiki.meego.com/SDK/Tutorials/Add_a_new_target.
 +
 +
== Add Qt Simulator target ==
 +
* Launch meego-sdk-qtcreator
 +
* Go to Tools->Options->Qt4->Qt Versions
 +
* Click the "+" to add a new "Qt Version"
 +
* In "Version name", provide a name.
 +
* In "qmake locations:", browser and select /opt/meego/simulator-qt/bin/qmake
 +
* Build
 +
* To use the simulator, please refer to http://doc.qt.nokia.com/qtsimulator-1.1/simulator-starting.html for more information.

Revision as of 11:51, 21 January 2011

This page describe how to use the initial MeeGo SDK 1.2-preview and test it. It's not for real MeeGo SDK 1.2-preview version and the contents here are mainly for QA testing before the release. But it will become official when it is released.

Contents

Introduction

MeeGo SDK 1.2-preview will include following major changes:

  • Qt Creator update to 2.1-rc.
  • Qt Simulator
  • MeeGo 1.2 toolchain
  • MeeGo 1.2 targets support. Covers 1.1.80 and up.

Prerequisites

Install the MeeGo SDK 1.1 with http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux

Update installation repo of MeeGo SDK 1.2-preview

This update is temporarily for testing. After releasing, it's not necessary.

On Ubuntu or Debian

  1. Add the following line to /etc/apt/sources.list.d/meego-sdk.list.
    Replace ${distribution} with one of the following: "Debian_5.0", "Ubuntu_09.10", "Ubuntu_10.04" or "Ubuntu_10.10".
    deb http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/ / 
    deb http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/ / 
  2. Add the repository public key:
    $ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A
    $ gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
  3. Update the packages database:
    $ sudo apt-get update
  4. To check that the MeeGo repository has been correctly added, run the following command. The details of the meego-sdk-qtcreator package should be printed.
    $ apt-cache policy meego-sdk-qtcreator

    Make sure you installed the 2.1.0~rc1 or newer version.

On Fedora

  1. Go to the yum repository directory:
    $ cd /etc/yum.repos.d/ 
  2. Add the MeeGo SDK 1.2-preview yum repository.
    Replace ${distribution} with one of the following: "Fedora_12" or "Fedora_13".
    $ sudo wget http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo
    $ sudo wget http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/devel:tools:sdk:host:toolchain:MeeGo:1.2.repo
  3. Install the signing key:
    $ sudo rpm --import http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/repodata/repomd.xml.key 
    $ sudo rpm --import http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/repodata/repomd.xml.key 
  4. Update the packages database:
    $ sudo yum update

On MeeGo

  • To add the MeeGo SDK repository on a system running MeeGo, run the following command.
    Replace ${distribution}/${version} with one of the following values: "Trunk".
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/devel:tools:sdk:host.repo

On openSUSE

  • To add the MeeGo repository, run the following command.
    Replace ${distribution}/${version} with one of the following values: "openSUSE_11.2" or "openSUSE_11.3".
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/devel:tools:sdk:host:toolchain:MeeGo:1.2.repo

Updating the MeeGo SDK

  • Debian / Ubuntu
    $ sudo apt-get install meego-sdk-qtcreator madde qt-tools libattica0 qt-simulator
  • Fedora
    $ sudo yum install meego-sdk-qtcreator madde qt-tools  libattica0 qt-simulator
  • OpenSUSE / MeeGo
    $ sudo zypper install meego-sdk-qtcreator madde qt-tools  libattica0 qt-simulator

For ARM only:

  • Debian / Ubuntu
    $ sudo apt-get install qemu-arm
  • Fedora
    $ sudo yum install qemu-arm
  • OpenSUSE / MeeGo
    $ sudo zypper install qemu-arm

For IA32 only:

  • Debian / Ubuntu
    $ sudo apt-get install meego-1.2-sdk-ia32-toolchain qemu-gl
  • Fedora
    $ sudo yum install meego-1.2-sdk-ia32-toolchain qemu-gl
  • OpenSUSE / MeeGo
    $ sudo zypper install meego-1.2-sdk-ia32-toolchain qemu-gl

Add MeeGo SDK 1.1.80 targets

  • Update handset target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs.
sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d handset -a ia32 -meego-version 1.2 -sysroot ${url_sysroot} -runtime ${url_runtime}
  • Update netbook target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs.
sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d netbook -a ia32 -meego-version 1.2 -sysroot ${url_sysroot} -runtime ${url_runtime}

Add Qt Simulator target

  • Launch meego-sdk-qtcreator
  • Go to Tools->Options->Qt4->Qt Versions
  • Click the "+" to add a new "Qt Version"
  • In "Version name", provide a name.
  • In "qmake locations:", browser and select /opt/meego/simulator-qt/bin/qmake
  • Build
  • To use the simulator, please refer to http://doc.qt.nokia.com/qtsimulator-1.1/simulator-starting.html for more information.
Personal tools