Qt4 Hildon Legacy
Contents[hide] |
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
Developing in Maemo
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.
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
Packaging a Qt application for Maemo
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)