| Line 1: | Line 1: | ||
| - | In Qt Creator you setup MeeGo device configurations to deploy your application to either a real hardware device or to a virtual machine, such as QEMU, running on your host. Qt Creator treats these configurations in the same way. When you | + | In Qt Creator you setup MeeGo device configurations to deploy your application to either a real hardware device or to a virtual machine, such as QEMU, running on your host. Qt Creator treats these configurations in the same way. When you start to debug your application Qt Creator will package your applications as an RPM, deploy it to the device you've selected in your project settings, install it, and run the executable. The mad-developer package must be installed on the target OS. |
The developer follows these steps: | The developer follows these steps: | ||
| Line 12: | Line 12: | ||
Open ''Tools'' > ''Options'' > ''Projects'' > ''MeeGo Device Configurations'' | Open ''Tools'' > ''Options'' > ''Projects'' > ''MeeGo Device Configurations'' | ||
| - | |||
<table> | <table> | ||
| - | <tr><td> | + | <tr><td valign="top"> |
| + | '''Create a QEMU virtual machine device configuration:''' | ||
# In the dialog box, create a new Device Configuration by clicking on '''Add'''. | # In the dialog box, create a new Device Configuration by clicking on '''Add'''. | ||
# Give the new Device Configuration a name in the Configuration Name text field, and add the following settings in the other test fields: | # Give the new Device Configuration a name in the Configuration Name text field, and add the following settings in the other test fields: | ||
| Line 24: | Line 24: | ||
#* Ports, Gdb Server: 13219 (the default) | #* Ports, Gdb Server: 13219 (the default) | ||
#: '''Note:''' If this port is not free, you can select another one. | #: '''Note:''' If this port is not free, you can select another one. | ||
| - | #* Connection Timeout: | + | #* Connection Timeout: 30s |
#* User Name: root | #* User Name: root | ||
#* Password: meego | #* Password: meego | ||
| Line 32: | Line 32: | ||
</tr> | </tr> | ||
</table> | </table> | ||
| - | |||
| - | |||
<table> | <table> | ||
<tr><td> | <tr><td> | ||
| + | '''Create a hardware device configuration:''' | ||
# In the dialog box, create a new Device Configuration by clicking on '''Add'''. | # In the dialog box, create a new Device Configuration by clicking on '''Add'''. | ||
# Give the new Device Configuration a name in the Configuration Name text field, and add the following settings in the other test fields: | # Give the new Device Configuration a name in the Configuration Name text field, and add the following settings in the other test fields: | ||
| Line 50: | Line 49: | ||
# Click '''Apply''' | # Click '''Apply''' | ||
</td> | </td> | ||
| - | <td>[[File: | + | <td>[[File:Qt-config-device-config.jpg|thumb|500px]]</td> |
</tr> | </tr> | ||
</table> | </table> | ||
| Line 58: | Line 57: | ||
#: If successful, you'll see a dialog box with the message "Device configuration successful". | #: If successful, you'll see a dialog box with the message "Device configuration successful". | ||
#: If the message "Could not connect to host" is displayed, check your setting selections and make sure that the network is connected. | #: If the message "Could not connect to host" is displayed, check your setting selections and make sure that the network is connected. | ||
| + | |||
| + | === 2. Select one of the configurations for the current project === | ||
| + | |||
| + | === 3. Start the device (boot the hardware or virtual machine) === | ||
| + | |||
| + | === 4. Start debugging the application === | ||
In Qt Creator you setup MeeGo device configurations to deploy your application to either a real hardware device or to a virtual machine, such as QEMU, running on your host. Qt Creator treats these configurations in the same way. When you start to debug your application Qt Creator will package your applications as an RPM, deploy it to the device you've selected in your project settings, install it, and run the executable. The mad-developer package must be installed on the target OS.
The developer follows these steps:
Contents |
Open Tools > Options > Projects > MeeGo Device Configurations
|
Create a QEMU virtual machine device configuration:
|
|
Create a hardware device configuration:
|
Test the settings