Qt4 Hildon Legacy

Contents

Intro

What is Maemo?

Few words about the maemo software platform

What is Hildon?

Hildon is an application framework for Linux operating system mobile devices (PDAs, mobile phones, etc), developed by Nokia for Maemo and now a part of GNOME, that focuses on providing a finger friendly interface

Read more

Developing in Maemo

Developer overview

Maemo SDK

If you want to get more info about the Maemo SDK or simply you want to install it on your linux box this is the page that you want to check: SDK Releases

What is Scratchbox?

Scratchbox is a cross compilation toolkit designed to make embedded Linux application development easier. It also provides a full set of tools to integrate and cross compile an entire Linux distribution.

Read more...

Installing the Maemo SDK (Scratchbox)

If you want to install the maemo SDK on your linux box this is the page that you want to check: SDK Releases

Porting a Qt application in Maemo

Intro

Basically porting a Qt application in Maemo means building your application for ARMEL. The Maemo Qt libraries will be take care to add to your application the Maemo look & Feel, the Hildon Input Method.

How to compile a Qt application in scratchbox

All the Qt tools that you need are available in scratchbox. So in order to compile a Qt application you need to follow the standard Qt way:

qmake -project
qmake file.pro
make

Overriding the Qt maemo changes

TODO

Limitations

TODO

Debugging a Qt application

GDB

Intro

The Gnu Project Debugger, or gdb for short, is a general purpose debugger that can be used for various debugging purposes.

Debugging a Qt application into scratchbox

TODO

Debugging a Qt application into the device

TODO

Links

GDB documentation & Tutorials

GDBServer man page

maemo debugging guide

gdb debian package for Diablo

Packaging a Qt application for Maemo

Find out more..

API changes

We don't want to break the API compatibility at all, but sometime we need to add some functions then to develop a Qt application in Maemo you can use the Official Qt 4.4 API Documentation and check the list below to know what are the API changes and additional info.

This is the list of the API changes.

bool QApplicationPrivate::areXInputEventsUsed().It's true if Qt sends QTabletEvents. On the device it's always true.

Other useful info about the API are:

 QTableEvents are able to get the touchscreen info (Eg: pressure).
  - Touchscreen eventdeviceType is QTabletEvent::Stylus.
 Finger poke is emulated in scratchbox by the Middle Mouse button (NOTE: It looks like that there is no Fullscreen VKB in scratchbox)