Meego Wiki
Views

SDK/Docs/1.2/MeeGo SDK 1.2 Preview for Linux/Configure Qt Creator to Develop MeeGo Applications

From MeeGo wiki
< SDK | Docs | 1.2 | MeeGo SDK 1.2 Preview for Linux(Difference between revisions)
Jump to: navigation, search
(Created page with "This document describes how to configure Qt Creator to use the MeeGo toolchain. == Create a Qt GUI project == <ul> <li>Go to the menu: File > New File or Project > Qt Applicati...")
(Build, run and deploy the application)
 
(2 intermediate revisions not shown)
Line 12: Line 12:
== Build, run and deploy the application==
== Build, run and deploy the application==
 +
Using QEMU for MeeGo development requires that your system be capable of VT support and hardware accelerated graphics. Details can be found [[SDK/Docs/1.2/MeeGo_SDK_Graphics_Acceleration|Checking your system's graphics capabilities]]<br/> .
* First launch the QEMU MeeGo emulator. Click the "Start Meego emulator" icon near the bottom left corner of Qt Creator:<br />[[File:Start_qemu.png]]
* First launch the QEMU MeeGo emulator. Click the "Start Meego emulator" icon near the bottom left corner of Qt Creator:<br />[[File:Start_qemu.png]]
* Click the "Run" icon to run your application. Qt Creator will package and deploy your application to QEMU or tablet device and start it on the target.
* Click the "Run" icon to run your application. Qt Creator will package and deploy your application to QEMU or tablet device and start it on the target.
-
* You can see the window of your application in QEMU or tablet device.<br />[[File:Tablet-run-app.png]]  
+
* You can see the window of your application in QEMU or tablet device.<br />[[File:Tablet-run-app.png]]
== Debug the application ==
== Debug the application ==
Line 21: Line 22:
* You can debug the application by clicking the "Debug" icon.
* You can debug the application by clicking the "Debug" icon.
* You can also set breakpoints and step the same as local applications.
* You can also set breakpoints and step the same as local applications.
 +
 +
'''Next step [[SDK/Docs/1.2/MeeGo_SDK_1.2_Preview_for_Linux/Create_RPM_Package_For_MeeGo_Application]]
* For more information on debugging, see [[SDK/Setup/Debugging_MeeGo_Applications|Debugging MeeGo Applications]]
* For more information on debugging, see [[SDK/Setup/Debugging_MeeGo_Applications|Debugging MeeGo Applications]]

Latest revision as of 15:51, 19 May 2011

This document describes how to configure Qt Creator to use the MeeGo toolchain.

Create a Qt GUI project

  • Go to the menu: File > New File or Project > Qt Application Project > Qt Gui Application.
  • Gui Application.png

  • At the end of project creation, you will see the "Project setup" dialog. Choose a MeeGo QtVersion (The same of the QtVersion is the same as the target you selected during installing MeeGo SDK).
    Targets.png

Build, run and deploy the application

Using QEMU for MeeGo development requires that your system be capable of VT support and hardware accelerated graphics. Details can be found Checking your system's graphics capabilities
.

  • First launch the QEMU MeeGo emulator. Click the "Start Meego emulator" icon near the bottom left corner of Qt Creator:
    Start qemu.png
  • Click the "Run" icon to run your application. Qt Creator will package and deploy your application to QEMU or tablet device and start it on the target.
  • You can see the window of your application in QEMU or tablet device.
    Tablet-run-app.png

Debug the application

  • You can debug the application by clicking the "Debug" icon.
  • You can also set breakpoints and step the same as local applications.

Next step SDK/Docs/1.2/MeeGo_SDK_1.2_Preview_for_Linux/Create_RPM_Package_For_MeeGo_Application

Personal tools