(→Preparing the netbook) |
|||
| (3 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
[[category:Meego-1.2]] | [[category:Meego-1.2]] | ||
| - | + | This page explains how to prepare a netbook so it can be used as a deployment target for MeeGo development. | |
| - | + | ||
| - | This page explains how to prepare a netbook so it can be used as a | + | |
If you don't have access to a netbook which can run MeeGo, you can use QEMU or Xephyr as a deployment target instead: | If you don't have access to a netbook which can run MeeGo, you can use QEMU or Xephyr as a deployment target instead: | ||
| Line 30: | Line 28: | ||
</li> | </li> | ||
<li> | <li> | ||
| - | Qt Creator also needs the | + | Qt Creator also needs the '''mad-developer''' package to be installed on the target device. This enables access to the device for deploying applications: |
<pre>sudo zypper install mad-developer</pre> | <pre>sudo zypper install mad-developer</pre> | ||
</li> | </li> | ||
| Line 65: | Line 63: | ||
# Click ''Apply''. | # Click ''Apply''. | ||
# To test the settings, click ''Test''. | # To test the settings, click ''Test''. | ||
| - | #: The message "Device configuration | + | #: The message "Device configuration okay" is displayed in Device Configuration Test window. |
# Click ''Close'' and ''OK''. | # Click ''Close'' and ''OK''. | ||
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. | ||
This page explains how to prepare a netbook so it can be used as a deployment target for MeeGo development.
If you don't have access to a netbook which can run MeeGo, you can use QEMU or Xephyr as a deployment target instead:
First you need to install MeeGo on the netbook. Instructions are available here.
You will need a working network connection on the netbook, to make it accessible to the development host machine.
Next, add some extra packages and configuration so you can deploy to the netbook from Qt Creator. The following steps require a command line on the netbook; this is available from the Applications zone, under System Tools > Terminal.
On the command line:
sudo zypper install openssh-server
Then start the SSH server manually (you'll need to do this just after you've installed it, otherwise it won't be available until you reboot):
sudo /etc/init.d/sshd start
And add it to the init sequence so it starts at boot time:
sudo chkconfig --add sshd
sudo zypper install mad-developer
sudo zypper install gdb-gdbserver
xhost +SI:localuser:root
You will need to do this each time you want to use the netbook as a deployment target (i.e. each time you reboot it).
The netbook should now be ready for work as a deployment target. See the hello world for an example of how to deploy to the netbook from Qt Creator.
To configure device access:
If the message "Could not connect to host" is displayed, check your setting selections and make sure that the network is connected.