This package is in an alpha stage, and still in heavy development. APIs may change, and things may break.
At this time contributors and developers that are interested in tracking the development closely are encouraged to use it. If you'd prefer a more stable release, please hold on a bit and subscribe to the mailing list for news. It's in a pretty good state, so it shall not take too long.
See this video for a quick introduction.
Please join the mailing list for following relevant development news and discussing project details.
The API documentation is available in the usual location.
To try the alpha release, you'll need:
- Go 1.2 (release candidate), for the C++ support of go build
- The current Ubuntu SDK, or equivalent Qt libraries
- Packages qtbase5-private-dev and qtdeclarative5-private-dev or equivalent header files, for the dynamic meta object support
In practice, if you are in Ubuntu, this should work for the Qt dependencies:
$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
$ sudo apt-get update
$ sudo apt-get install ubuntu-sdk qtbase5-private-dev qtdeclarative5-private-dev
and Go 1.2 may be installed using godeb:
$ # Pick the right one for your system: 386 or amd64
$ ARCH=amd64
$ wget -q https://godeb.s3.amazonaws.com/godeb-$ARCH.tar.gz
$ tar xzvf godeb-$ARCH.tar.gz
godeb
$ sudo mv godeb /usr/local/bin
$ godeb list | head -1
1.2rc1
$ godeb install 1.2rc1
If you're not in Ubuntu and your operating system does not offer these dependencies, you may have success installing Go 1.2rc1 and Qt 5.0.2 directly from the upstreams.
Once the requirements above are satisfied, go get should work as usual:
go get github.com/niemeyer/qml