It seems that in environments where there is no GLX but qmlviewer-qt5 works all go-qml apps fail to work even if they don't import any opengl stuff. This can be tested e.g. with examples/controls/basiclayouts.
A simple way to reproduce this is to X forwarding on linux.
1) ssh -X devmachine
2) try qmlviewer-qt5 it should work
3) cd $GOPATH/src/gopkg.in/qml.v1/examples/controls/basiclayouts
4) go build
5) ./basiclayouts
It seems that in environments where there is no GLX but qmlviewer-qt5 works all go-qml apps fail to work even if they don't import any opengl stuff. This can be tested e.g. with examples/controls/basiclayouts.
A simple way to reproduce this is to X forwarding on linux. 1) ssh -X devmachine 2) try qmlviewer-qt5 it should work 3) cd $GOPATH/src/gopkg.in/qml.v1/examples/controls/basiclayouts 4) go build 5) ./basiclayouts
Produces the following crash: