|
|
| Line 38: |
Line 38: |
| | </ol> | | </ol> |
| | | | |
| - | === Configure device access in Qt Creator === | + | === Next Step: [http://wiki.meego.com/ Debugging MeeGo Applications] === |
| - | Configuring device access in Qt Creator is slightly different depending on whether you are deploying to a real device or an emulated one. However, the mode of access is the same: Qt Creator deploys and installs an .rpm package on the device, and runs the executable.
| + | |
| - | | + | |
| - | For instructions on configuring device access, see:
| + | |
| - | Configure Qt Creator for MeeGo emulator
| + | |
| - | Configure Qt Creator for MeeGo device
| + | |
| - | | + | |
| - | 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
| + | |
| - | 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
| + | |
| - | | + | |
| - | 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.
| + | |
| - | MeeGo emulator - MTF sample
| + | |
| - | | + | |
| - | 7. 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.
| + | |
| - | Qt Creator - debug application
| + | |
| - | For more information on debugging, see Debugging with Qt Creator
| + | |
| - | | + | |
| - | Known Issues
| + | |
| - | | + | |
| - | The meegotouch development library has a bug which makes it conflict with the host Qt library. If you have installed another Qt library, you have to move the Qt libraries in /usr/lib to other place:
| + | |
| - | # sudo mkdir /usr/lib/qtbak
| + | |
| - | # sudo mv /usr/lib/libQt* /usr/lib/qtbak
| + | |
| - | 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
| + | |