KDE Mobile/Harmattan
KDE on Meego 1.2 Harmattan
This page is intended for developers seeking to deploy their KDE Applications on a Harmattan Device like the N9(50).
Getting Started
If you are new to Harmattan you should check out the [#General_Hints] section first
Development Repositories
For KDE Development you need several third party libraries. Several are available in the Nokia SDK repository which is also preinstalled in scratchbox. To provide additional libraries there are several packages needed by KDE available from the "rzr" repository, which is one of the biggest community repos. To enable this repository in your scratchbox or on your device add the following to you /etc/apt/sources.list:
deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./
The SDK is already enabled in scratchbox but you need it on your device as it supplies dependencies needed by rzr packages.
For more on the rzr repository see: https://build.pub.meego.com/project/show?project=home%3Arzr%3Aharmattan
Set up a development Environment
Using Madde
--- TODO ---
Using Scratchbox
Scratchbox utilizes qemu and some changeroot style path seperation to allow you to have a development environment where you can "natively" compile for armel and work with armel packages on a generic Host system.
For information on how to install it see: http://harmattan-dev.nokia.com/platform-sdk
General Hints
When you start out with an N950 you might first want to upgrade your image to the latest version: http://wiki.meego.com/N950_landing_page offers information on how to do that.
Enabling Developer Mode
This is actually quite easy and there is even a GUI on the devices for it (reachable via Settings -> Security -> Developer Mode) This will also install an ssh server on your device which makes the rest of the installation much more comfortable.
Also, having enabled the Developer Mode, you will be able to check out the /var/log/syslog on your device for further information. Developer mode is intended for developing applications into the Nokia OVI store. You might need to use the "develsh" on your device for testing your application in certain cases.
Configure SSH
To connect to your ssh server you first have to set a password for the "user" account. To do that open the Terminal application and use devel-su to log in as root (default root password is rootme) and set the password for the user by calling passwd user. Now you are able to connect to your device as user and configure the OpenSSH server as usual.