This document describes how to configure Qt Creator to use the MeeGo toolchain.
Create a MeeGo touch project
- Go to the menu: File > New File or Project > Qt Application Project > Meego Touch Framework Application.
- 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).
<img src="https://otcshare.org/meego-tablet/system/files/qtcreator_mtf.png" width=650 alt="Qt Creator - create MTF application"/>
5. Set Run Configuration
- Click "Projects" again on the left side. Select "Run" in the MeeGo Build/Run box at the top. If the "Device configuration" is set to "MeeGo tablet emulator". This will ensure that QEMU is started when you run your application.
- You can now launch the QEMU MeeGo emulator. Click the "Start Meego emulator" icon near the bottom left corner of Qt Creator
<img src="https://otcshare.org/meego-tablet/system/files/qtcreator_runtime_configure.png" width=650 alt="Qt Creator - choose runtime option"/>
- if the "Device configuration" is set to "real device". This will ensure the application run in the tablet device.
6. 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
<img src="https://otcshare.org/meego-tablet/system/files/qtcreator_runtime_configure.png" width=650 alt="Qt Creator - choose runtime option"/>
- 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.
<img src="ttps://otcshare.org/meego-tablet/system/files/meego_emulator_mtf.png" width=650 alt="MeeGo emulator - MTF sample"/>
Debug the application
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 <a href="https://otcshare.org/meego-tablet/node/586">SDK Graphics Acceleration</a>