Installing the Seadot SDK
The Idea Behind the Seadot SDK Connector
The Seadot SDK Connector provides surrogates for common developer tools that you use on your PC. Unlike the real tools, these surrogates take care of syncing your project data to your Seadot device or virtual machine and running the developer tools on the remote device or virtual machine.
As a developer you work with the tools on your PC as normal, but the SDK Connector builds and runs the code directly on Seadot.
The Seadot SDK Connector can either be used on the command line, or with the Qt Creator IDE.
Seadot SDK Connector for Linux
Get the latest SDK Connector for Linux (April 7, 2013 - 84 KB).
Seadot SDK Connector for Mac OS X
Mac OS X support is work-in-progress. For the time being you can use the Linux version on Mac OS X.
Seadot SDK Connector for Windows
Windows support is work-in-progress. For the time being you can use the Linux version on Windows on the console together with MSYS.
Enabling Developer Access on the Seadot Device or Virtual Machine
The SDK uses key-based SSH access to the Seadot device or virtual machine.
To enable the developer access, run the following line on the device or virtual machine as user seadot (IMPORTANT!)
To disable developer access again, run the line
If you just want to see whether developer access was enabled, run the tool without arguments
- Get QtCreator 2.7 for Linux from Qt Project and install it.
- Launch QtCreator once to initialize its configuration directory.
- Run INSTALL.sh from the Seadot SDK Connector archive you downloaded.
You will be greeted by the installer.
We're now going to install the Seadot SDK Connector. Please specify where you want the SDK tools to be installed, or leave empty to install to the default place. Default is: /home/mgrimme/seadot-sdk >
You can specify an installation directory here, or just accept the default value.
* copying templates/wizards/seadot -> /home/mgrimme/.config/QtProject/qtcreator * copying build-rpm -> /home/mgrimme/seadot-sdk/build-rpm * copying g++ -> /home/mgrimme/seadot-sdk/g++ * copying launcher.sh -> /home/mgrimme/seadot-sdk/launcher.sh * copying make -> /home/mgrimme/seadot-sdk/make * copying qmake -> /home/mgrimme/seadot-sdk/qmake * copying qt4 -> /home/mgrimme/seadot-sdk/qt4 * copying sdk-setup -> /home/mgrimme/seadot-sdk/sdk-setup * copying shell -> /home/mgrimme/seadot-sdk/shell Installation finished.
Now that the files have been installed, you're being asked for a connection to your Seadot device or virtual machine. Leave empty to accept the proposed default values.
Please configure the connection to your Seadot device or virtual machine. You may change this setting later using '/home/mgrimme/seadot-sdk/sdk-setup'. DEVICE_NAME [Device_1365339958] > SeadotVM REMOTE_HOST [127.0.0.1] > REMOTE_PORT  >
If you have a Seadot device, use your device's IP address on the network for REMOTE_HOST and use 22 for REMOTE_PORT. If you have a Seadot virtual machine, use 127.0.0.1 for REMOTE_HOST and use 2200 for REMOTE_PORT.
Development Devices -> 1365339958 : SeadotVM [127.0.0.1:2200] '->' marks the currently selected device. Please (re)start QtCreator and configure it to use the tools from '/home/mgrimme/seadot-sdk'.
- Verify that your Seadot machine is accessible by the SDK.
You should see something like this:
[SeadotVM: email@example.com] Linux
- Start or restart QtCreator and go to Tools->Options....
- Select the Build & Run section and click on the tab Compilers. Add a new GCC compiler.
- Point the Compiler path to g++ of your Seadot SDK Connector. Hit Apply.
- Click on the tab Qt Versions and add a new Qt version. Select qmake from your Seadot SDK Connector. Hit Apply.
- Click on the tab Kits and add a new kit. Give it a name, select the Seadot compiler and the Seadot Qt version. Close the Options dialog with OK.
You're now ready to create Seadot applications with QtCreator.
Using the Seadot SDK Connector on the Console
The Seadot SDK contains surrogate programs for some tools:
- build-rpm: Remote invokation of Seadot's build-rpm tool for building RPM packages.
- g++: Remote invokation of the C++ compiler on the device.
- make: Remote invokation of make on the device.
- qmake: Remote invokation of qmake on the device.
- shell: Remote invokation of shell commands on the device.
Some of these commands synchronize data between your local project directory and device where appropriate.
Using the Remote Shell
The shell command allows you to execute shell commands on the device.
For instance, to list the contents of the build directory of your current project on the device:
shell ls -l
To see the running processes on the device:
shell ps -ef
To monitor the processes and load on the device:
To get a shell on the device as user seadot.
Type exit or press Ctrl-D to exit the remote shell.
To get a root shell on the device.
shell su -
Please note that the invokation of the shell command does not synchronize data between your project and the device.