For it to work on ubuntu desktop:
sudo apt-get install git golang pkg-config golang-go.tools
sudo apt-get install qtbase5-private-dev
sudo apt-get install qtdeclarative5-private-dev
sudo apt-get install libqt5opengl5-dev
sudo apt-get install gccgo gccgo-go
sudo apt-get install g++ g++-multilib
mkdir -p /home/gour/goqmlstuff
export GOPATH=/home/gour/goqmlstuff
go get
gopkg.in/qml.v0
cd /home/gour/goqmlstuff/src/
gopkg.in/qml.v0/examples/customtype
go build
For it to work on ubuntu touch, I found a trick to avoid getting
"storage exceeded" errors when installing the above packages. Do the
following after every apt-get install:
sudo apt-get clean
sudo apt-get autoremove
This explains why I didn't make the apt-get install lines into ONE HUGE
apt-get install command above.
Cheers,
David Marceau
http://adequatech.ca