User:Kumarafaque

From KDE TechBase
Revision as of 11:49, 29 September 2010 by Kumarafaque (talk | contribs)

Nokia Qt SDK Setting up the Environment
&
Deploying the Application on Nokia N900


What is Nokia Qt SDK 1.0 ?

Nokia Qt SDK leverages the power of the Qt framework and tools, combining them with tools designed specifically to streamline the creation of applications for Symbian, Maemo, and the forthcoming MeeGo platform. This allows you to build Qt applications and test them on device without actually taking the complicated procedure of creating the source package and making a debian out of it then deploy your application on the device.


Where can you get it ?

Nokia Qt SDK installer comes in two variants : Offline installer and Online installer Download From Here

  • Linux ( 32/64 bit)
  • Windows ( 32/64 bit )
  • Mac beta


Prerequisites

  • Windows XP Service Pack 2 / Windows Vista / Windows 7
  • (K)Ubuntu Linux 7.04 32 bit or 64 bit with the following required components g++ make libglib2.0-dev libSM-dev libfontconfig1-dev libxrender-dev libxext-dev libfreetype6-dev libx11-dev libxcursor-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libgl-dev libglu-dev (if using QtOpenGL)

    Installation

    I hope you have already downloaded the SDK installer of your choice if not refer section 1.1

    Windows Platform Double click the downloaded “.exe” file and rest will be guided by the installer.

    Linux By default execute permission is not set for the downloaded file. To make the file executable follow the steps mentioned below :

    1. open terminal
    2. change to the directory where you have downloaded the installer my download directory is /home/qt/Desktop so i'll type
      • $cd /home/qt/Desktop
    3. Now it's time to make installer executable type chmod 755 <file name> my download file name is Nokia_Qt_SDK_Lin32_offline_v1_0_en
      • $chmod 755 Nokia_Qt_SDK_Lin32_offline_v1_0_en
    4. Now type ./Nokia_Qt_SDK_Lin32_offline_v1_0_en (or you can double click it after browsing to the file)
    5. Rest will be guided by the installer


    Establishing the Connection b/w N900 and Development PC

    Hardware and Software Requirements
    To build and run Qt applications for Maemo, you need the following:

    • Nokia N900 device with software update release 1.2 (V10.2010.19-1) or later installed.
    • Nokia USB drivers. Only needed if you develop on Windows and if you use a USB connection to run applications on the device. The drivers are installed as part of the Nokia Qt SDK. You can also download them from link PC Connectivity on the Maemo web site. Download and install the latest PC_Connectivity_<version>.exe.
    • The Qt Creator/MADDE integration is supported on the following platforms:
      • Linux (32 bit and 64 bit)
      • Windows (32 bit and 64 bit)

    Note: The only supported build system for Maemo in Qt Creator is qmake.