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

Build "qtdeploy -docker -debug test desktop" fail, build constraints exclude all Go files #1

Open
mhhg opened this issue Mar 5, 2018 · 1 comment

Comments

@mhhg
Copy link

mhhg commented Mar 5, 2018

Trying to build this on linux, go1.10 and Qt5.10.0
I think it's my mistake somewhere, would your please help me to build this app?

`

  • ERRO[0005] failed to run command cmd="go build -p 8 -v -ldflags=all="-s" "-w" -o /home/mhg/go/src/github.com/therecipe/qt/internal/examples/webkit/browser/deploy/linux/browser -tags="minimal"" env= error="exit status 1" func=RunCmd name="build for linux on linux"
    main.go:10:2: build constraints exclude all Go files in /home/mhg/go/src/github.com/therecipe/qt/webkit

  • go env
    GOARCH="amd64"
    GOBIN=""
    GOCACHE="/home/mhg/.cache/go-build"
    GOEXE=""
    GOHOSTARCH="amd64"
    GOHOSTOS="linux"
    GOOS="linux"
    GOPATH="/home/mhg/go"
    GORACE=""
    GOROOT="/usr/local/go"
    GOTMPDIR=""
    GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
    GCCGO="gccgo"
    CC="gcc"
    CXX="g++"
    CGO_ENABLED="1"
    CGO_CFLAGS="-g -O2"
    CGO_CPPFLAGS=""
    CGO_CXXFLAGS="-g -O2"
    CGO_FFLAGS="-g -O2"
    CGO_LDFLAGS="-g -O2"
    PKG_CONFIG="pkg-config"
    GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build841531297=/tmp/go-build -gno-record-gcc-switches"

  • go version go1.10 linux/amd64

  • Qt5.10.0
    `
@5k3105
Copy link
Owner

5k3105 commented Mar 5, 2018

Hi, I've never built using linux but take a look here:

https://github.com/therecipe/qt/wiki/Installing-QtWebKit-Module

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

2 participants