Meego Wiki
Views

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

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
<li>You can debug the application by clicking the "Debug" icon. </li>
<li>You can debug the application by clicking the "Debug" icon. </li>
<li>You can also set breakpoints and step the same as local applications.<br />
<li>You can also set breakpoints and step the same as local applications.<br />
-
<img src="https://otcshare.org/meego-tablet/system/files/qtcreator_debug.png" width=650 alt="Qt Creator - debug application"/>
 
</li>
</li>
-
<li>For more information on debugging, see <a href="http://wiki.meego.com/SDK/Docs/1.1/Debugging_with_Qt_Creator">Debugging with Qt Creator </a></li>
+
<li>For more information on debugging, See  [http://wiki.meego.com/SDK/Docs/1.1/Debugging_with_Qt_Creator Debugging with Qt Creator]</li>
</ul>
</ul>
Line 35: Line 34:
<li> Qt application can be built & deployed to the emulator, but it cannot be shown correctly. Only a black screen.  
<li> Qt application can be built & deployed to the emulator, but it cannot be shown correctly. Only a black screen.  
</li>
</li>
-
  <li>For QEMU, it is important to check your graphics capability. See  <a href="https://otcshare.org/meego-tablet/node/586">SDK Graphics Acceleration</a>
+
  <li>For QEMU, it is important to check your graphics capability. See  [https://otcshare.org/meego-tablet/node/586 SDK Graphics Acceleration]
  </li>
  </li>
</ul>
</ul>

Revision as of 05:03, 24 March 2011

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

Contents

Create a MeeGo touch project

  • Go to the menu: File > New File or Project > Qt Application Project > Meego Touch Framework Application.
  • Qtcreator-mtf.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).
    Project-select-QtVersion.png

Build, run and deploy the application

  • 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.
  • For more information on debugging, See Debugging with Qt Creator

Known Issues

  • Qt application can be built & deployed to the emulator, but it cannot be shown correctly. Only a black screen.
  • For QEMU, it is important to check your graphics capability. See SDK Graphics Acceleration
Personal tools