Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

QtQuick – How to develop on the N900

From Wiki
Jump to: navigation, search
Article Metadata
Created: bluechrism (23 Feb 2011)
Last edited: hamishwillee (26 Jul 2012)

One cool thing about QtQuick that I realized today is that it should be possible to develop for you device, on your device. And i can now say that yes, it's only a Hello World app, but at no point was a PC involved in making it (except for research in how to do it).

So my device is an N900 and i don't know if this is possible on Symbian - if you can get a terminal for example. So here's how to write a QtQuick HelloWorld app on your N900 and run it.


  1. Make sure you are using PR1.3 which includes QT 4.7. If not, update your device.
  2. Make sure you have the and Maemo Extras catalogs enabled in Application Manager
  3. Get the 'QTQuick 1.0 Compatibly plug-in. This can be found in the Development section under Application Manager.
  4. Get rootsh to enable root access through the terminal - this can be got through the Application Manger.
  5. Get the QML Viewer - to do this open x-term. Type the following commands:
    1. sudo gainroot //To Give the user root access
    2. apt-get update //To update the catalogs
    3. apt-get install qt4-declarative-qmlviewer //to install QML Viewer
  6. Get an editor - I used PyGTKEditor from the Development section of Application Manager.

Creating the app

  1. Open your editor.
  2. Enter the code from the QtQuick - Basic Types Tutorial. You can use Fn (the blue arrow) + Sym/CTRL to bring up the extra symbols like { } | [ ] and ~.
  3. Save the file somewhere memorable - e.g QtQuick/Tutorials, and call the file helloworld.qml
  4. Either
    1. Open x-term
    2. enter cd QtQuick/Tutorial
    3. enter qmlviewer helloworld.qml
  5. Or
    1. Open QmlViewer from the menu shortcut
    2. Click on the title bar and choose Open
    3. Browse to helloworld.qml

And that's it.

Originally created by bluechrism at Micronokiadev

This page was last modified on 26 July 2012, at 05:31.
24 page views in the last 30 days.