Meego Wiki
Views

SDK/Setup/Building MeeGo Applications

From MeeGo wiki
< SDK(Difference between revisions)
Jump to: navigation, search
(categorise)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
== Building MeeGo Applications ==  
== Building MeeGo Applications ==  
-
Once the MeeGo SDK has been [http://wiki.meego.com/SDK/Docs/1.2/MeeGo_SDK_1.2_Preview_for_Windows installed], you can configure Qt Creator to use the MeeGo toolchain.
+
Once the MeeGo SDK has been [[SDK/Docs/1.2/MeeGo_SDK_1.2_Preview_for_Windows|installed]], you can configure Qt Creator to use the MeeGo toolchain.
=== Configure Qt Creator to use the MeeGo toolchain ===
=== Configure Qt Creator to use the MeeGo toolchain ===
Line 38: Line 38:
</ol>
</ol>
-
=== Next Step: [http://wiki.meego.com/ Debugging MeeGo Applications] ===
+
''' Next Step: [[SDK/Setup/Debugging_MeeGo_Applications|Debugging MeeGo Applications]]'''
 +
 
 +
[[Category:SDK]]
 +
[[Category:Tutorial]]

Latest revision as of 13:31, 12 April 2011

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