therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.5k stars 748 forks source link

mac cannot be installed #1224

Closed ld-2021 closed 3 years ago

ld-2021 commented 3 years ago

go version go version go1.15.2 darwin/amd64 qt 5.12.10

Install command

export GO111MODULE=on; xcode-select --install; go get -v github.com/therecipe/qt && go install -v -tags=no_env github.com/therecipe/qt/cmd/... && go mod vendor && git clone https://github.com/therecipe/env_darwin_amd64_513.git vendor/github.com/therecipe/env_darwin_amd64_513 && $(go env GOPATH)/bin/qtsetup

I have the following problems with the installation according to the wiki documentation go: github.com/therecipe/qt upgrade => v0.0.0-20200904063919-c0c124a5770d go: warning: "github.com/therecipe/qt/cmd/..." matched no packages go: cannot find main module; see 'go help modules'

ld-2021 commented 3 years ago

In the project directory, it's important to remember