Skip to content

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

Open
@bqback

Description

@bqback

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions