MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Using MADDE from the command line

In addition to functioning as a back-end for Qt Creator, MADDE provides command line utilities that can be used to perform the tasks presented in the following sections. You can use these utilities as follows:

  • In Linux/Unix and Mac OS X platforms, use MADDE through the terminal or console window.
  • In Windows, use MADDE through the MADDE terminal.

MADDE comes with Qt SDK and you do not need to install it separately. However, if you want to update the MADDE version used in Qt SDK, install and configure a new version of MADDE.

Note: To familiarise yourself with application development with MADDE Terminal, see Creating a simple Qt application with MADDE.

To start MADDE Terminal:

  • On Windows:
    • Find madde.bat under the same directory where Qt SDK is installed (currently in <Qt SDK installation directory>/Madde>/ subdirectory), and start it.
  • On Linux and Mac OS X:
    • Add <Qt SDK installation directory>/Madde/bin to PATH, and use MADDE from your terminal application.

To start developing for Harmattan with MADDE Terminal:

  1. Start MADDE Terminal.
  2. Create the development target.
  3. Create the runtime for running your application.
    If you are using a device:
    Configure the device-to-SDK connection (see MeeGo 1.2 Harmattan Developer Library) and create the device runtime.
    If you are using QEMU:
    Create the QEMU runtime.
  4. Create your application. You can use one of the several predefined MADDE templates to create application skeletons as a framework for your development work.
  5. Build your application.
  6. Package your application.
  7. Run your application.

Note: For a complete list of MADDE commands, see MADDE Command Reference.