qt
qt copied to clipboard
Error when trying to test the binding
Hello,
I wanted to try the qt bindings for golang and I started with the following command (copied from the recipe homepage):
go get -ldflags="-w" github.com/therecipe/examples/basic/widgets && for /f %v in ('go env GOPATH') do %v\bin\widgets.exe
and I got following error:
go get: github.com/therecipe/examples@none updating to
github.com/therecipe/[email protected]: parsing go.mod: go.mod:3: require github.com/therecipe/qt: version "master" invalid: must be of the form v1.2.3
go.mod:5: require github.com/therecipe/qt/internal/binding/files/docs/5.13.0: version "master" invalid: must be of the form v1.2.3
Since I am new to golang I really do not know what I am doing here wrong. Can somebody please tell me what I missed when executing above code. I am usin following golang version (on Windows 10): go version go1.16 windows/amd64
I have installed qt bindings for msvs 2019_x64 version 5.15.2. I do not think that this should be a problem for the recipe framework.
I have the exact same issue. I too am on Windows 10 and I want to run one of the basic examples, but I get the exact same error.
Any solution?