×
Namespaces

Variants
Actions
(Difference between revisions)

Latest Qt and Qt mobility evaluation on Maemo

From Nokia Developer Wiki
Jump to: navigation, search
achipa (Talk | contribs)
achipa (Talk | contribs)
Line 17: Line 17:
  
 
For Qt to know which mobility version to use, you will need to specify the following
 
For Qt to know which mobility version to use, you will need to specify the following
 
+
  maemo5 {
  CONFIG += mobility11
+
  CONFIG += mobility11
 +
}
  
 
in your projects .pro file (instead of CONFIG += mobility). For help and discussion about this version, see the [http://talk.maemo.org/showthread.php?p=907358 maemo.org community developer thread]
 
in your projects .pro file (instead of CONFIG += mobility). For help and discussion about this version, see the [http://talk.maemo.org/showthread.php?p=907358 maemo.org community developer thread]
Line 42: Line 43:
 
on the device, and in you .pro file you need:
 
on the device, and in you .pro file you need:
  
  CONFIG += mobility12
+
  maemo5 {
 
+
  CONFIG += mobility12
 +
}
 
NOTE: The 1.2 release is in a '''TECH PREVIEW''' status. APIs can change and/or break without notice.
 
NOTE: The 1.2 release is in a '''TECH PREVIEW''' status. APIs can change and/or break without notice.
 
----
 
----

Revision as of 02:17, 22 January 2011

Regardless of the Qt and Qt Mobility versions provided by the Maemo5 firmware, an evaluation build of the latest Qt and Qt Mobility is available from the Extras-devel repository. These libraries cannot be used for publishing software to Ovi (or promoted to Extras) nor do they come with any warranty, but are good for evaluating real-life performance and behavior. The components that are part of this initiative are labeled with experimental in their package names. They are installed in parallel to the Maemo5 libraries, so they pose minimal danger to your existing install and do not affect stable software written for Maemo.

NOTE: All the packages referenced are found in extras-devel

Qt Mobility 1.1.0

libqtm-11-dev package

To install, from the console (in scratchbox) do

apt-get install libqtm-11-dev

and on the device

apt-get install libqtm-11

For Qt to know which mobility version to use, you will need to specify the following

maemo5 {
  CONFIG += mobility11
}

in your projects .pro file (instead of CONFIG += mobility). For help and discussion about this version, see the maemo.org community developer thread

Status:

(Ville) Confirmed to work: Multimedia ("player" demo can stream rtsp video, full screen works)


Qt Mobility 1.2.0 tech preview

libqtm-12-dev package

It is used in an analogous way to libqtm-11:

apt-get install libqtm-12-dev

in scratchbox and

apt-get install libqtm-12

on the device, and in you .pro file you need:

maemo5 {
  CONFIG += mobility12
}

NOTE: The 1.2 release is in a TECH PREVIEW status. APIs can change and/or break without notice.


Qt 4.8

libqt4-experimental

apt-get install libqt4-experimental-dev

To use this version, you have to either call its qmake with

/opt/qt48/bin/qmake my-project.pro

or, if you are using the Nokia Qt SDK, add it as a alternate Qt version

NOTE: Qt 4.8 will receive it's first public binary release when it reaches at least the Tech Preview phase (until then the APIs are changing too quickly for public releases to make sense)

240 page views in the last 30 days.
×