Open kooksee opened 4 years ago
I met the same problem. Do you find the solution?
Same issue here in Ubuntu 16.04 with go1.14, a workaround is installing therecipe/qt with disabled go module.
After some digging, I think it is because qtsetup didn't generate any modules, which might because github.com/therecipe/qt/internal/binding/files/docs/5.13.0
is missing in vendor
directory.
Copy all packages to vendor
might solves this issue since by default go mod vendor
does't copy all files as reported in https://github.com/golang/go/issues/26366.
@jxltom So you're saying a 5.12.11
version, for example, would still error out but 5.12.0
wouldn't?
When I ran the qt example, I encountered
vendor/github.com/therecipe/qt/core/core.go: 15: 42: undefined: NewQByteArrayFromPointer
.The relevant environment configuration is as follows:
and my
env_darwin_amd64_513
is also configured.I found this problem when I ran qtsetup.