Meego Wiki
Views

MeeGo Touch Framework

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Should I use this framework to write an application for MeeGo ?: formatting, wording and add "QML and QtDeclarative" to Qt Quick mention)
(Formatting, page style, Wiki and web links added to non-trivial terms and names)
Line 1: Line 1:
-
MeeGo Touch is a Qt based application development framework targeting mobile touch screen devices. It is part of MeeGo API (along Qt 4.7). It provides all the necessary building blocks for creating native applications that follow the MeeGo Handset UX guidelines . The framework itself is built on top of the Qt Graphics View Framework.
+
'''MeeGo Touch''' is a Qt-based application development framework targeting mobile touch screen devices. It is part of the MeeGo API (along with Qt 4.7). It provides all the necessary building blocks for creating native applications that follow the MeeGo Handset UX guidelines. The framework itself is built on top of the [http://doc.trolltech.com/4.6/graphicsview.html Qt Graphics View Framework].
-
The source code is here : [http://meego.gitorious.org/meegotouch]
+
== Links ==
-
The documentation is here : [http://apidocs.meego.com/mtf/]
+
* Source code: http://meego.gitorious.org/meegotouch
 +
* Documentation: http://apidocs.meego.com/mtf/
 +
* Tutorial: http://apidocs.meego.com/mtf/tutorial.html
== Architecture ==
== Architecture ==
 +
(to do)
(to do)
(see documentation)
(see documentation)
 +
== Relation to Qt ==
== Relation to Qt ==
-
The Framework sits on top of Qt. It extend it and adapt it to touchscreen interface, providing convenient classes and widget for a MeeGo Application on a touch screen.
+
The Framework sits on top of Qt. It extends it and adapts it to touchscreen interface, providing convenient classes and widgets for a MeeGo application on a touch screen.
-
== Should I use this framework to write an application for MeeGo ? ==
+
== Should I use this framework to write applications for MeeGo? ==
-
This topic was discuss in the forum here : [http://forum.meego.com/showthread.php?t=524]
+
See also: [http://forum.meego.com/showthread.php?t=524 Forum thread discussing this topic]
-
The quick summary : if you value application portability and API stability it is probably better to stick with pure Qt. It is the encouraged way to built application for MeeGo.
+
Reasons for using pure Qt:
-
MeeGo Touch framework may interest you only if :
+
* You are building an application for different devices ([[Handsets]], [[Netbooks]], etc...)
 +
* You need maximum portability and API stability
 +
* You want to port your application to non-MeeGo systems (Windows, Mac OS X, ...)
 +
* You already have a working Qt UI for your application
 +
* Qt is the encouraged way for MeeGo development (across all devices)
-
* You are building an application UI specifically for MeeGo handset UX.
+
Reasons for using the MeeGo Touch Framework:
-
* You want to adopt the MeeGo style (see MeeGo handset guidelines).
+
 
-
* You are interested in using MeeGo widgets and notifications, automatic screen rotation.
+
* You are building an application UI specifically for [[Handsets]]
-
* You can cope with future change in API. MeeGo Touch framework is still evolving. For instance, part (or all) of it may be included in future version of Qt. Though you can be confident that MeeGo Touch will continue to exist and improve.
+
* You want to follow the [http://meego.com/developers/ui-design-guidelines/handset MeeGo Handset UI style] very closely
 +
* You are interested in using MeeGo widgets, notifications and automatic screen rotation
 +
* You understand and are prepared to deal with future API changes. MeeGo Touch framework is still evolving. For instance, part (or all) of it may be included in future version of Qt. You can be confident that MeeGo Touch will continue to exist and improve, though.
Also an other new way to code Qt apps exists: '''Qt Quick''' (QML and QtDeclarative). It is still very new, but it could be interesting to write fast a small UI.
Also an other new way to code Qt apps exists: '''Qt Quick''' (QML and QtDeclarative). It is still very new, but it could be interesting to write fast a small UI.
-
== How to install it ? ==
+
== How to build and install MeeGo Touch ==
 +
 
 +
You can clone the [http://meego.gitorious.org/meegotouch Git repositories] and compile it:
 +
 
 +
./configure
 +
qmake
 +
make install
-
You can clone the git repositories in the source page and compile it (./configure, qmake, make install) or use the version included into  MeeGo handset images.
+
You can also use the version included in pre-built MeeGo Handset images.
-
Also it must be run into a MeeGo chroot environment (see [[Getting started with the MeeGo SDK for Linux (Original)]]) or a MeeGo test device ([[ARM/N900]])
+
The framework must be run inside a MeeGo chroot environment (see the [[Getting started with the MeeGo SDK for Linux (Original)|Getting Started Guide]] on how to set one up) or a MeeGo development device (for example the [[ARM/N900|N900]]).

Revision as of 15:58, 28 August 2010

MeeGo Touch is a Qt-based application development framework targeting mobile touch screen devices. It is part of the MeeGo API (along with Qt 4.7). It provides all the necessary building blocks for creating native applications that follow the MeeGo Handset UX guidelines. The framework itself is built on top of the Qt Graphics View Framework.

Contents

Links

Architecture

(to do) (see documentation)

Relation to Qt

The Framework sits on top of Qt. It extends it and adapts it to touchscreen interface, providing convenient classes and widgets for a MeeGo application on a touch screen.

Should I use this framework to write applications for MeeGo?

See also: Forum thread discussing this topic

Reasons for using pure Qt:

  • You are building an application for different devices (Handsets, Netbooks, etc...)
  • You need maximum portability and API stability
  • You want to port your application to non-MeeGo systems (Windows, Mac OS X, ...)
  • You already have a working Qt UI for your application
  • Qt is the encouraged way for MeeGo development (across all devices)

Reasons for using the MeeGo Touch Framework:

  • You are building an application UI specifically for Handsets
  • You want to follow the MeeGo Handset UI style very closely
  • You are interested in using MeeGo widgets, notifications and automatic screen rotation
  • You understand and are prepared to deal with future API changes. MeeGo Touch framework is still evolving. For instance, part (or all) of it may be included in future version of Qt. You can be confident that MeeGo Touch will continue to exist and improve, though.

Also an other new way to code Qt apps exists: Qt Quick (QML and QtDeclarative). It is still very new, but it could be interesting to write fast a small UI.

How to build and install MeeGo Touch

You can clone the Git repositories and compile it:

./configure
qmake
make install

You can also use the version included in pre-built MeeGo Handset images.

The framework must be run inside a MeeGo chroot environment (see the Getting Started Guide on how to set one up) or a MeeGo development device (for example the N900).

Personal tools