Friday, March 4, 2011

QtMobility 1.1.1 and 1.2TP on Maemo

The Qt SDK 1.1 Tech Preview's Maemo target unfortunately ships with only QtMobility 1.0.2, however this should not discourage developers wishing to explore new functions (or, well, simply get rid of old 1.0.x bugs). Thus, if you're doing something for Maemo Extras, there is a simple way of changing which version of mobility do you wish to use. Extras-devel already had builds of 1.1.0 but the news with this latest 1.1.1 release is that

  • works with QtSDK, too, not just Scratchbox
  • works on Windows, too !
  • plenty of bugfixes
  • will be available in Extras proper (not just devel)

To make your project use 1.1(.1) on both Maemo and Symbian you just need to do:

 maemo5 { 
  CONFIG += mobility11
} else {
  CONFIG += mobility
To reiterate - this is only for Extras-bound software, people targeting the Ovi store with Maemo still have to use the old 1.0.2. The exact steps and gory details of getting Mobility 1.1.1 and 1.2TP into your development environment can be found here.