Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation command doesn't work in WIndows or GIt Bash #1299

Open
bqback opened this issue Nov 15, 2024 · 0 comments
Open

Installation command doesn't work in WIndows or GIt Bash #1299

bqback opened this issue Nov 15, 2024 · 0 comments

Comments

@bqback
Copy link

bqback commented Nov 15, 2024

Windows (PowerShell):

go get -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtsetup test && %v\bin\qtsetup -test=false
go: downloading github.com/therecipe/qt v0.0.0-20200904063919-c0c124a5770d
go: downloading github.com/gopherjs/gopherjs v1.17.2
go: downloading github.com/sirupsen/logrus v1.4.1
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20200904063919-c0c124a5770d
go: downloading github.com/therecipe/env_linux_amd64_513 v0.0.0-20190626000307-e137a3934da6
go: downloading github.com/therecipe/env_darwin_amd64_513 v0.0.0-20190626001412-d8e92e8db4d0
go: downloading github.com/therecipe/qt/internal/binding/files/docs v0.0.0-20191019224306-1097424d656c
go: downloading github.com/therecipe/env_windows_amd64_513 v0.0.0-20190626000028-79ec8bd06fb2
go: downloading github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20200904063919-c0c124a5770d
go: trying upgrade to github.com/therecipe/env_darwin_amd64_513@v0.0.0-20190626001412-d8e92e8db4d0
go: trying upgrade to github.com/therecipe/env_linux_amd64_513@v0.0.0-20190626000307-e137a3934da6
go: trying upgrade to github.com/therecipe/env_windows_amd64_513@v0.0.0-20190626000028-79ec8bd06fb2
go: trying upgrade to github.com/therecipe/qt/internal/binding/files/docs/5.12.0@v0.0.0-20200904063919-c0c124a5770d
go: trying upgrade to github.com/therecipe/qt/internal/binding/files/docs/5.13.0@v0.0.0-20200904063919-c0c124a5770d
go: downloading github.com/therecipe/env_windows_amd64_513/Tools v0.0.0-20190626000028-79ec8bd06fb2
go: trying upgrade to github.com/therecipe/env_windows_amd64_513/Tools@v0.0.0-20190626000028-79ec8bd06fb2
go: added github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: added github.com/sirupsen/logrus v1.8.1
go: added github.com/therecipe/env_darwin_amd64_513 v0.0.0-20190626001412-d8e92e8db4d0
go: added github.com/therecipe/env_linux_amd64_513 v0.0.0-20190626000307-e137a3934da6
go: added github.com/therecipe/env_windows_amd64_513/Tools v0.0.0-20190626000028-79ec8bd06fb2
go: added github.com/therecipe/qt v0.0.0-20200904063919-c0c124a5770d
go: added github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20200904063919-c0c124a5770d
go: added github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20200904063919-c0c124a5770d
for: The term 'for' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Windows (cmd): go get doesn't occur (no corresponding logs), the for loop crashes because no binary exists. Also, no .exe on Windows binaries?

Git Bash (MinGW64):

User@DESKTOP-ID MINGW64 ~/proj (main)
$ go get -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtsetup test && %v\bin\qtsetup -test=false
bash: syntax error near unexpected token `%v'

How do I install this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant