Open jxltom opened 4 years ago
you need move your project into GOPATH/src/...., but i get other issues:
github.com/therecipe/qt/internal/binding/runtime
# github.com/therecipe/qt/internal/binding/runtime
vendor/github.com/therecipe/qt/internal/binding/runtime/moc.go:101:16: undefined: qml
This go vendor mode, I don't think I need to put it upder GOPATH
i think qtsetup install xxx need in GOPATH, i move to my project into GOPATH, and fix 'undefined: qml' bug, it is run ok.
I can confirm the issue still exists in go 1.15
The
qtsetup generate
succeeds butqtsetup install
failes with following error. It occurs with default setup or settingGOFLAGS=-mod=vendor
explicitly.It only happen in go1.14, go1.13 doesn't have this issue.
I made it work with
GOFLAGS=-mod=mod
but it will install library to mod cache instead of project'svendor
directory.