Run the SDK in your native distro HOWTO
From GreenphoneWiki
Warning: this howto is not finished!!
See also the Trolltech blog post about this.
Contents |
[edit] Prerequisites
In order to use the SDK you need to have at least Qt 4.2.x installed on your native distro.
[edit] Copy the files
Copy /opt and /usr/local/arm-linux from the VMWare SDK image to your native distro.
sudo tar -cpzf /devel/sdk.tar.gz /opt /usr/local/arm-linux scp /devel/sdk.tar.gz myuser@myhost:
You may also consider to copy the files in /home/user/Desktop to your host. On your host machine (as root user if you're not using sudo, replace myuser with the user you used above):
sudo tar -xzf ~myuser/sdk.tar.gz -C /
[edit] Add to $PATH
You may want to add all the scripts and binaries to your $PATH environment variable.
PATH=$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.1.6/x86/bin:/opt/Qtopia/SDK/4.1.6/x86/scripts
[edit] Compile for the Greenphone
To compile, you need to source the variables in this shell script:
source /opt/Qtopia/SDK/scripts/devel-greenphone.sh
[edit] Start the emulator
Now start the emulator.
/opt/Qtopia/SDK/scripts/home-runqvfb & /opt/Qtopia/SDK/scripts/home-runqpe &
[edit] Use the gph tool
To use the gph tool to install and run applications, you must first get your Greenphone reachable via ssh. Use the following Greenphone-on-LAN_HOWTO to do it. You must edit the file that contains the IP address of the Greenphone hardcoded in the gph tool if your setup differs.
Important: To use the gph tool, you need a web-server running on the host that has /var/www as root (you may change this again in the gph script).

