Open soson opened 6 years ago
from debug message i can see, that docker command generated by qtdeploy is malformed (missing TAG after image name):
docker run --rm -e IDUG=1000:100 -v /home/soni/go:/media/sf_GOPATH0 -e GOPATH=/home/user/work:/media/sf_GOPATH0 -i therecipe/qt: qtdeploy -debug -ldflags= -tags= build sailfish-emulator /media/sf_GOPATH0/src/github.com/therecipe/qt
after manually fixing it:
docker run --rm -e IDUG=1000:100 -v /home/soni/go:/media/sf_GOPATH0 -e GOPATH=/home/user/work:/media/sf_GOPATH0 -i therecipe/qt:linux qtdeploy -debug -ldflags= -tags= build sailfish-emulator /media/sf_GOPATH0/src/github.com/therecipe/qt/internal/examples/quick/sailfish
i got this:
time="2017-10-14T21:34:12Z" level=panic msg="Project needs to be inside GOPATH; have: /media/sf_GOPATH0/src/github.com/therecipe/qt/internal/examples/quick/sailfish want: /home/user/work"
panic: (*logrus.Entry) (0x7e9320,0xc4250746e0)
tough the GOPATH environment variable is set.
Have you tried building the project using the regular installation? I can't speak for Sailfish OS specifically but I didn't have any luck with the docker deployments for desktop, Android while developing on Linux.
i successfuly build example from docs https://github.com/therecipe/qt/wiki/Getting-Started using
then i tried to build sailfish os example https://github.com/therecipe/qt/tree/master/internal/examples/quick/sailfish
which failed with this
go: 1.8.4 Docker version 17.06.2-ce, build cec0b7 Sailfish OS SDK 1701-1
are there some other prerequisites, which i need to fullfill to successfully build the example?
thanks