Assuming you are working on an Ubuntu system here are the steps how to set up the build environment. Basically you can choose your prefered SDK but all tutorials are based on the Qt Creator and we recommand to use that one. You can also use the Ubuntu SDK, which is basically a modified Qt Creator.
Note: Please take care that you are using the Qt version from the system for building. The guh server will allways be built with the official Qt version for the appropriate system version. The plugin must have the same version like the guh server.
In the first step you need to install the Qt libraries:
$ sudo apt-get install qtcreator qt5-default qtbase5-dev python dpkg-dev debhelper hardening-wrapper
You can find a good instructions how to install the guh repository on your system here:
For example, if you are working on Ubuntu 15.04 Vivid, you can create a source list file and add the guh repository like this:
$ sudo nano /etc/apt/sources.list.d/guh.list
Copy following 3 lines in the
/etc/apt/sources.list.d/guh.list file, save and close it
## guh repo deb http://repo.guh.guru vivid main deb-src http://repo.guh.guru vivid main
Now you need to add the public key of the guh-repository to your key list with following command:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 6B9376B0
Update your package lists:
$ sudo apt-get update
Now you are ready to install the guh packages:
$ sudo apt-get install guh guh-webinterface guh-cli guh-doc libguh1-dev
guhpackage is a meta package and will install the
guh-pluginspackage so you can start the guh daemon.
guh-webinterfacepackage will install the webinterface for guh, which is accessable on http://localhost:3333.
guh-clipackage will install the command line interface for the guh JSON-RPC API. You can find more infomation here.
guh-docpackage will install the offline documentation on your system (this homepage). You can access the documentation in your brwoser with file:///usr/share/doc/guh/html/index.html.
libguh1-devpackage brings all development files of guh (header files and lib) which will be needed to write a plugin.
Once you have successfully installed everything you are ready for Getting started.