Meego Wiki
Views

SDK/Setup/Building MeeGo Applications

From MeeGo wiki
< SDK
Jump to: navigation, search

Contents

Building MeeGo Applications

Once the MeeGo SDK has been installed, you can configure Qt Creator to use the MeeGo toolchain.

Configure Qt Creator to use the MeeGo toolchain

  1. Start Qt Creator: Start > All Programs > MeeGo SDK > Qt Creator
  2. Configure Qt Creator to use MeeGo toolchain:
    1. Go to Tools > Options > Qt4 > Qt Versions. You will see a "meego-tablet" Qt version under "Manual"
    2. On the Version Name line, you can enter a user-friendly name for the tablet Qt version.
    3. On the qmake location line, specify a qmake location for the new version. The toolchain installs by default to C:\MeeGoSDK_1.2\MADDE\targets\<target name>\bin\qmake. Once you have picked qmake.exe the "Rebuild" button should be enabled.
    4. Click Rebuild. If successful, you will see a green checkmark next to the "Debugging helpers" text. Click OK.
    5. Qt-config-options.jpg

Create a MeeGo application

  1. Go to the menu: File > New File or Project > Qt Gui Application
    Qt-config-new-gui-app.jpg
  2. At the end of project creation, you will see the "Project setup" dialog. Choose the MeeGo toolchain you configured.
    Qt-config-project-setup.jpg

Build configuration of MeeGo project

  1. Click the "Projects" icon on the left of Qt Creator. The "MeeGo" build and run configuration page will be shown.
  2. Verify that the MeeGo toolchain is selected as the "Qt Version" when building. Qt-config-projects.jpg

Next Step: Debugging MeeGo Applications

Personal tools