Qt Quick Components

Building the Qt Quick components for Symbian

Prerequisites

  1. Windows XP or later
  2. Qt SDK 1.1 or later installed. This has the build tools for Symbian devices.
  3. Retrieve the latest source from the Qt Quick components repository: http://qt.gitorious.org/qt-components.
  4. Start the Qt for Desktop (MinGW) command shell so you can run the following build steps from this command shell. Running a command shell in this way sets up the Qt environment properly.

Configuring the Symbian Components

If you have a previous build, you should cleanup first with:

 mingw32-make distclean

In the Qt Quick components repository root:

 configure -symbian -nomake tests
 mingw32-make clean

Building for Symbian devices

After the configure step, run:

 sbs -c armv5_urel

This will build all the binaries and export the iby's, qmls etc to correct folders also for test applications. No separate install is needed.

Building for Windows

After the configure step, run the following commands (make sure you don't have any apps running in QML Viewer or the install will fail):

 mingw32-make
 mingw32-make install

Configuring your environment

The components are installed in C:\QtSDK\Desktop\Qt\4.7.1\mingw\imports\Qt\labs\components, so you need to add that to your system path before you can run any components-based applications.

Testing the components (Windows)

You can test that the components work by running one of the example applications.

  • Go to the directory: $QTCOMPONENTS/examples/symbian/gallery/
  • Build the example
         qmake
         mingw32-make
  • Run the example
         qmlgallery.exe