Qt4 Hildon Legacy
(→Debugging a Qt application) |
(→API changes) |
||
Line 66: | Line 66: | ||
== API changes == | == 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 | |
- | + | [http://doc.trolltech.com/4.4/index.html Official Qt 4.4 API Documentation] and check the list below to know what are the API changes and info. | |
- | [http://doc.trolltech.com/4.4/index.html Official Qt 4.4 API Documentation]. | + | |
- | + | This is the list of the API changes. | |
+ | '''bool QApplicationPrivate::areXInputEventsUsed()''' has been added. Basically this functions returns true if the application runs on the device. | ||
+ | |||
+ | Other useful info about the API are: | ||
+ | QTableEvents are able to get the touchscreen info (Eg: pressure). | ||
+ | - Touchscreen eventdeviceType is QTabletEvent::Stylus. | ||
[[Category:Development]] | [[Category:Development]] |
Revision as of 12:49, 17 November 2008
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
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 info.
This is the list of the API changes.
bool QApplicationPrivate::areXInputEventsUsed() has been added. Basically this functions returns true if the application runs on the device.
Other useful info about the API are:
QTableEvents are able to get the touchscreen info (Eg: pressure). - Touchscreen eventdeviceType is QTabletEvent::Stylus.