the tooling now supports the pkg path format + initial support for the go get-able desktop env

these changes should make the life of all newly incoming developers (or consumers of applications build with this binding) way easier

all one needs to do now is to install Git, Go and an C/C++ compiler then the binding can be setup by running:
go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup

or if one is only interested in building a specific application:
go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtdeploy test desktop github.com/therecipe/examples/basic/widgets

for this to work, the tooling now recognizes a pkg path and "go gets" the package if necessary

beside these changes, the deployed binaries are now properly stripped on linux and console debugging is now enabled by default on windows
This commit is contained in:
therecipe 2018-12-20 22:26:22 +01:00
parent b09bb04a61
commit a790897844
25 changed files with 260 additions and 171 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.jsc
*.log
*.pro
*.pro.user

5
cmd/env/darwin_amd64.go vendored Normal file
View file

@ -0,0 +1,5 @@
// +build darwin,amd64
package env
import _ "github.com/therecipe/env_darwin_amd64_512"

5
cmd/env/linux_amd64.go vendored Normal file
View file

@ -0,0 +1,5 @@
// +build linux,amd64
package env
import _ "github.com/therecipe/env_linux_amd64_512"

View file

@ -1,28 +1,8 @@
module github.com/therecipe/qt/cmd
require (
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/kisielk/gotool v1.0.0 // indirect
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 // indirect
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab // indirect
github.com/shurcooL/go v0.0.0-20181215222900-0143a8f55f04 // indirect
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 // indirect
github.com/sirupsen/logrus v1.2.0 // indirect
github.com/spf13/cobra v0.0.3 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/therecipe/qt v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.10.0 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.11.1 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.6.3 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.7.0 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.7.1 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.8.0 v0.0.0-20181217175635-86108509bd0c // indirect
github.com/therecipe/qt/internal/binding/files/docs/5.9.0 v0.0.0-20181217175635-86108509bd0c // indirect
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 // indirect
golang.org/x/sys v0.0.0-20181213200352-4d1cda033e06 // indirect
golang.org/x/tools v0.0.0-20181217182337-728ed46ae025 // indirect
golang.org/x/sys v0.0.0-20181218192612-074acd46bca6 // indirect
golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e // indirect
)

View file

@ -1,60 +1,11 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1ks85zJ1lfDGgIiMDuIptTOhJq+zKyg=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 h1:D6paGObi5Wud7xg83MaEFyjxQB1W5bz5d0IFppr+ymk=
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo=
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab h1:eFXv9Nu1lGbrNbj619aWwZfVF5HBrm9Plte8aNptuTI=
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/shurcooL/go v0.0.0-20181215222900-0143a8f55f04 h1:X91gi8bbAueDtGVwO0XepT+QvcFKhkteYiRhrb7pQ80=
github.com/shurcooL/go v0.0.0-20181215222900-0143a8f55f04/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 h1:SWV2fHctRpRrp49VXJ6UZja7gU9QLHwRpIPBN89SKEo=
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
github.com/sirupsen/logrus v1.2.0 h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/therecipe/qt v0.0.0-20181217175635-86108509bd0c h1:6pm+RjDisurjNm8mIYtqTuP14YnPnkOuikJQTCZNJe8=
github.com/therecipe/qt v0.0.0-20181217175635-86108509bd0c/go.mod h1:Iq/oaa39y01vL+lPnuYp68I2X74K+/ACvH8yA1+ubH8=
github.com/therecipe/qt/internal/binding/files/docs v0.0.0-20181217175635-86108509bd0c h1:4q69Qvq7b4/X8hRK79xy9LpiHxHAVaZv7z6JquSuSpw=
github.com/therecipe/qt/internal/binding/files/docs v0.0.0-20181217175635-86108509bd0c/go.mod h1:3m53YtVScOef+bvEyu5Pnhhdt1948eTNnsVZrP6hYeE=
github.com/therecipe/qt/internal/binding/files/docs/5.10.0 v0.0.0-20181217175635-86108509bd0c h1:xCms8hAQalghXVF7N0/gpHYx03rfS/LLg65j/Uj6DPw=
github.com/therecipe/qt/internal/binding/files/docs/5.10.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:0kdyvN3U5+T/7oroKwjnxjOCSl0KgMdslhGFRiY6CYw=
github.com/therecipe/qt/internal/binding/files/docs/5.11.1 v0.0.0-20181217175635-86108509bd0c h1:Fo16l1fhlp2QaaeW4lh3YNJaluaX7wLI/dPO0vTN2Ug=
github.com/therecipe/qt/internal/binding/files/docs/5.11.1 v0.0.0-20181217175635-86108509bd0c/go.mod h1:89DJ2jP40NC3R0AHpsYfRtFcZxg8hg64u+GFb8cjyYs=
github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20181217175635-86108509bd0c h1:4banKKolAkc/mB8VPL9XJMgKnvOojreBUfBTUQW/DaQ=
github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:7m8PDYDEtEVqfjoUQc2UrFqhG0CDmoVJjRlQxexndFc=
github.com/therecipe/qt/internal/binding/files/docs/5.6.3 v0.0.0-20181217175635-86108509bd0c h1:G4Keu79EZzP90KfPGl4AImYQI5GZfbF0UzVzYLZbNmE=
github.com/therecipe/qt/internal/binding/files/docs/5.6.3 v0.0.0-20181217175635-86108509bd0c/go.mod h1:Vekyc8wPRbEBD1XjJpnjhm8l5TRuvoZFZnRe9812jRk=
github.com/therecipe/qt/internal/binding/files/docs/5.7.0 v0.0.0-20181217175635-86108509bd0c h1:qac1d0VL3v0M80KRwSxfupZklDD/S869n4TkH98zmNg=
github.com/therecipe/qt/internal/binding/files/docs/5.7.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:nxvy/0d+Vs+CDWSYMQTUe/CYB/gFfL35WuikY+Nk/NE=
github.com/therecipe/qt/internal/binding/files/docs/5.7.1 v0.0.0-20181217175635-86108509bd0c h1:8kB0S5yJTpVa0qCE3Z44VlPWBAaN7txh5AZaqZi5Fw4=
github.com/therecipe/qt/internal/binding/files/docs/5.7.1 v0.0.0-20181217175635-86108509bd0c/go.mod h1:LH+7O1UJfPKV17+JOpg8jsBp+t+zR9qvPnz6c8ji9c4=
github.com/therecipe/qt/internal/binding/files/docs/5.8.0 v0.0.0-20181217175635-86108509bd0c h1:eLruRcvhYeYBwha1QSmzaVRPJrnz+BYDLLBr7FfO/Qo=
github.com/therecipe/qt/internal/binding/files/docs/5.8.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:fLn3mj9ZGgEDR+/Ork0sfteGWc31cjv8b4VXITvk/fs=
github.com/therecipe/qt/internal/binding/files/docs/5.9.0 v0.0.0-20181217175635-86108509bd0c h1:1bd/v+XNhDBlK/D2R+92l/nrzBAZ6Rbxg1CJa7Dsk0Y=
github.com/therecipe/qt/internal/binding/files/docs/5.9.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:6VuvmQeE7pyTjJ2zCaVqVNCqS6696NToUQSB+dKg5ts=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181213200352-4d1cda033e06 h1:0oC8rFnE+74kEmuHZ46F6KHsMr5Gx2gUQPuNz28iQZM=
golang.org/x/sys v0.0.0-20181213200352-4d1cda033e06/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/tools v0.0.0-20181217182337-728ed46ae025 h1:21D5gDYCCi/qBaU8fkgZVmVvmmC+7+uhs0/9vkXnhN0=
golang.org/x/tools v0.0.0-20181217182337-728ed46ae025/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/sys v0.0.0-20181218192612-074acd46bca6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

View file

@ -1,15 +0,0 @@
// +build cmd
package cmd
import (
_ "github.com/therecipe/qt/internal"
_ "github.com/therecipe/qt/cmd/qtdeploy"
_ "github.com/therecipe/qt/cmd/qtminimal"
_ "github.com/therecipe/qt/cmd/qtmoc"
_ "github.com/therecipe/qt/cmd/qtrcc"
_ "github.com/therecipe/qt/cmd/qtsetup"
_ "github.com/gopherjs/gopherjs"
)

View file

@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
@ -100,6 +101,26 @@ func main() {
if target == "desktop" {
target = runtime.GOOS
}
utils.CheckBuildTarget(target)
if !filepath.IsAbs(path) {
oPath := path
path, err = filepath.Abs(path)
if err != nil || !utils.ExistsDir(path) {
utils.Log.WithError(err).WithField("path", path).Debug("can't resolve absolute path")
dirFunc := func() (string, error) {
out, err := utils.RunCmdOptionalError(exec.Command("go", "list", "-f", "{{.Dir}}", oPath), "get pkg dir")
return strings.TrimSpace(out), err
}
if dir, err := dirFunc(); err != nil {
utils.RunCmd(exec.Command("go", "get", "-d", "-v", oPath), "go get pkg")
path, _ = dirFunc()
} else {
path = dir
}
}
}
if !(target == runtime.GOOS || target == "js" || target == "wasm") {
fast = false
}
@ -107,17 +128,9 @@ func main() {
fast = false
}
if !filepath.IsAbs(path) {
path, err = filepath.Abs(path)
if err != nil {
utils.Log.WithError(err).WithField("path", path).Fatal("can't resolve absolute path")
}
}
if target == "js" || target == "wasm" { //TODO: remove for module support + resolve dependencies
os.Setenv("GOCACHE", "off")
}
utils.CheckBuildTarget(target)
deploy.Deploy(mode, target, path, docker, ldFlags, tags, fast, device, vagrant, vagrant_system, comply)
}

View file

@ -3,6 +3,7 @@ package main
import (
"flag"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
@ -67,19 +68,30 @@ func main() {
if target == "desktop" {
target = runtime.GOOS
}
utils.CheckBuildTarget(target)
if !filepath.IsAbs(path) {
oPath := path
path, err = filepath.Abs(path)
if err != nil {
utils.Log.WithError(err).WithField("path", path).Fatal("can't resolve absolute path")
if err != nil || !utils.ExistsDir(path) {
utils.Log.WithError(err).WithField("path", path).Debug("can't resolve absolute path")
dirFunc := func() (string, error) {
out, err := utils.RunCmdOptionalError(exec.Command("go", "list", "-f", "{{.Dir}}", oPath), "get pkg dir")
return strings.TrimSpace(out), err
}
if dir, err := dirFunc(); err != nil {
utils.RunCmd(exec.Command("go", "get", "-d", "-v", oPath), "go get pkg")
path, _ = dirFunc()
} else {
path = dir
}
}
}
if target == "js" || target == "wasm" || strings.HasPrefix(target, "ios") {
if target == "js" || target == "wasm" { //TODO: remove for module support + resolve dependencies
os.Setenv("GOCACHE", "off")
}
utils.CheckBuildTarget(target)
switch {
case docker:
cmd.Docker([]string{"qtminimal", "-debug", "-tags=" + tags}, target, path, false)

View file

@ -3,6 +3,7 @@ package main
import (
"flag"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
@ -73,19 +74,30 @@ func main() {
if target == "desktop" {
target = runtime.GOOS
}
utils.CheckBuildTarget(target)
if !filepath.IsAbs(path) {
oPath := path
path, err = filepath.Abs(path)
if err != nil {
utils.Log.WithError(err).WithField("path", path).Fatal("can't resolve absolute path")
if err != nil || !utils.ExistsDir(path) {
utils.Log.WithError(err).WithField("path", path).Debug("can't resolve absolute path")
dirFunc := func() (string, error) {
out, err := utils.RunCmdOptionalError(exec.Command("go", "list", "-f", "{{.Dir}}", oPath), "get pkg dir")
return strings.TrimSpace(out), err
}
if dir, err := dirFunc(); err != nil {
utils.RunCmd(exec.Command("go", "get", "-d", "-v", oPath), "go get pkg")
path, _ = dirFunc()
} else {
path = dir
}
}
}
if target == "js" || target == "wasm" || strings.HasPrefix(target, "ios") {
if target == "js" || target == "wasm" { //TODO: remove for module support + resolve dependencies
os.Setenv("GOCACHE", "off")
}
utils.CheckBuildTarget(target)
switch {
case docker:
cmd.Docker([]string{"qtmoc", "-debug", "-tags=" + tags}, target, path, false)

View file

@ -3,6 +3,7 @@ package main
import (
"flag"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
@ -70,11 +71,23 @@ func main() {
if target == "desktop" {
target = runtime.GOOS
}
utils.CheckBuildTarget(target)
if !filepath.IsAbs(path) {
oPath := path
path, err = filepath.Abs(path)
if err != nil {
utils.Log.WithError(err).WithField("path", path).Fatal("can't resolve absolute path")
if err != nil || !utils.ExistsDir(path) {
utils.Log.WithError(err).WithField("path", path).Debug("can't resolve absolute path")
dirFunc := func() (string, error) {
out, err := utils.RunCmdOptionalError(exec.Command("go", "list", "-f", "{{.Dir}}", oPath), "get pkg dir")
return strings.TrimSpace(out), err
}
if dir, err := dirFunc(); err != nil {
utils.RunCmd(exec.Command("go", "get", "-d", "-v", oPath), "go get pkg")
path, _ = dirFunc()
} else {
path = dir
}
}
}
if output != "" && !filepath.IsAbs(output) {
@ -84,11 +97,10 @@ func main() {
}
}
if target == "js" || target == "wasm" || strings.HasPrefix(target, "ios") {
if target == "js" || target == "wasm" { //TODO: remove for module support + resolve dependencies
os.Setenv("GOCACHE", "off")
}
utils.CheckBuildTarget(target)
switch {
case docker:
cmd.Docker([]string{"qtrcc", "-debug"}, target, path, false)

View file

@ -83,15 +83,16 @@ func main() {
target = runtime.GOOS
}
utils.CheckBuildTarget(target)
if dynamic && (target == runtime.GOOS || target == "js" || target == "wasm") {
os.Setenv("QT_DYNAMIC_SETUP", "true")
}
if target == "js" || target == "wasm" || strings.HasPrefix(target, "ios") {
if target == "js" || target == "wasm" { //TODO: remove for module support + resolve dependencies
os.Setenv("GOCACHE", "off")
}
utils.CheckBuildTarget(target)
switch mode {
case "prep":
setup.Prep()

1
go.sum
View file

@ -1,2 +1 @@
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1ks85zJ1lfDGgIiMDuIptTOhJq+zKyg=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=

View file

@ -1,12 +1 @@
module github.com/therecipe/qt/internal/binding/files/docs
require (
github.com/therecipe/qt/internal/binding/files/docs/5.10.0 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.11.1 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.6.3 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.7.0 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.7.1 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.8.0 v0.0.0-20181217175635-86108509bd0c
github.com/therecipe/qt/internal/binding/files/docs/5.9.0 v0.0.0-20181217175635-86108509bd0c
)

View file

@ -1,16 +0,0 @@
github.com/therecipe/qt/internal/binding/files/docs/5.10.0 v0.0.0-20181217175635-86108509bd0c h1:xCms8hAQalghXVF7N0/gpHYx03rfS/LLg65j/Uj6DPw=
github.com/therecipe/qt/internal/binding/files/docs/5.10.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:0kdyvN3U5+T/7oroKwjnxjOCSl0KgMdslhGFRiY6CYw=
github.com/therecipe/qt/internal/binding/files/docs/5.11.1 v0.0.0-20181217175635-86108509bd0c h1:Fo16l1fhlp2QaaeW4lh3YNJaluaX7wLI/dPO0vTN2Ug=
github.com/therecipe/qt/internal/binding/files/docs/5.11.1 v0.0.0-20181217175635-86108509bd0c/go.mod h1:89DJ2jP40NC3R0AHpsYfRtFcZxg8hg64u+GFb8cjyYs=
github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20181217175635-86108509bd0c h1:4banKKolAkc/mB8VPL9XJMgKnvOojreBUfBTUQW/DaQ=
github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:7m8PDYDEtEVqfjoUQc2UrFqhG0CDmoVJjRlQxexndFc=
github.com/therecipe/qt/internal/binding/files/docs/5.6.3 v0.0.0-20181217175635-86108509bd0c h1:G4Keu79EZzP90KfPGl4AImYQI5GZfbF0UzVzYLZbNmE=
github.com/therecipe/qt/internal/binding/files/docs/5.6.3 v0.0.0-20181217175635-86108509bd0c/go.mod h1:Vekyc8wPRbEBD1XjJpnjhm8l5TRuvoZFZnRe9812jRk=
github.com/therecipe/qt/internal/binding/files/docs/5.7.0 v0.0.0-20181217175635-86108509bd0c h1:qac1d0VL3v0M80KRwSxfupZklDD/S869n4TkH98zmNg=
github.com/therecipe/qt/internal/binding/files/docs/5.7.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:nxvy/0d+Vs+CDWSYMQTUe/CYB/gFfL35WuikY+Nk/NE=
github.com/therecipe/qt/internal/binding/files/docs/5.7.1 v0.0.0-20181217175635-86108509bd0c h1:8kB0S5yJTpVa0qCE3Z44VlPWBAaN7txh5AZaqZi5Fw4=
github.com/therecipe/qt/internal/binding/files/docs/5.7.1 v0.0.0-20181217175635-86108509bd0c/go.mod h1:LH+7O1UJfPKV17+JOpg8jsBp+t+zR9qvPnz6c8ji9c4=
github.com/therecipe/qt/internal/binding/files/docs/5.8.0 v0.0.0-20181217175635-86108509bd0c h1:eLruRcvhYeYBwha1QSmzaVRPJrnz+BYDLLBr7FfO/Qo=
github.com/therecipe/qt/internal/binding/files/docs/5.8.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:fLn3mj9ZGgEDR+/Ork0sfteGWc31cjv8b4VXITvk/fs=
github.com/therecipe/qt/internal/binding/files/docs/5.9.0 v0.0.0-20181217175635-86108509bd0c h1:1bd/v+XNhDBlK/D2R+92l/nrzBAZ6Rbxg1CJa7Dsk0Y=
github.com/therecipe/qt/internal/binding/files/docs/5.9.0 v0.0.0-20181217175635-86108509bd0c/go.mod h1:6VuvmQeE7pyTjJ2zCaVqVNCqS6696NToUQSB+dKg5ts=

View file

@ -8,6 +8,7 @@ import (
"os/user"
"path/filepath"
"runtime"
"strconv"
"strings"
"github.com/sirupsen/logrus"
@ -52,6 +53,56 @@ func ParseFlags() bool {
os.Exit(0)
}
if !utils.ExistsDir(utils.QT_DIR()) {
*qt_dir = strings.TrimSpace(utils.RunCmd(exec.Command("go", "list", "-f", "{{.Dir}}", "github.com/therecipe/env_"+runtime.GOOS+"_amd64_"+strconv.Itoa(utils.QT_VERSION_NUM())[:3]), "get env dir"))
switch runtime.GOOS {
case "linux", "darwin":
os.Setenv("QT_DIR", *qt_dir)
if api := *qt_api; api == "" {
os.Setenv("QT_API", utils.QT_VERSION())
}
}
var err error
switch runtime.GOOS {
case "linux":
link := filepath.Join("/usr", "local", ".env_linux_amd64")
utils.RemoveAll(link)
err = os.Symlink(*qt_dir, link)
case "darwin":
link := filepath.Join("/Applications", ".env_darwin_amd64")
utils.RemoveAll(link)
err = os.Symlink(*qt_dir, link)
}
if err != nil {
utils.Log.WithError(err).Warn("failed to create env symlink; fallback to patching binaries instead (this won't work for go modules)\nplease open an issue)")
cmd := exec.Command("go", "run", "patch.go", *qt_dir)
cmd.Dir = *qt_dir
_, err = utils.RunCmdOptionalError(cmd, "patch env binaries")
if err != nil {
utils.Log.Warn("failed to patch binaries (do you use go modules?)\nyou won't be able to simply \"go build/run\" your application, but qtdeploy-ing applications should work nevertheless\nplease open an issue")
}
}
var webenginearchive string
switch runtime.GOOS {
case "linux":
webenginearchive = filepath.Join(*qt_dir, utils.QT_VERSION(), "gcc_64", "lib", "libQt5WebEngineCore.so."+utils.QT_VERSION()+".gz")
case "darwin":
webenginearchive = filepath.Join(*qt_dir, utils.QT_VERSION(), "clang_64", "lib", "QtWebEngineCore.framework", "Versions", "Current", "QtWebEngineCore.gz")
}
if utils.ExistsFile(webenginearchive) {
_, err := utils.RunCmdOptionalError(exec.Command("gzip", "-d", webenginearchive), "uncompress webengine")
if err != nil {
utils.Log.WithError(err).Warn("failed to uncompress webengine, (do you use go modules?)")
} else {
utils.RemoveAll(webenginearchive)
}
}
}
return help != nil && *help
}

View file

@ -86,6 +86,20 @@ func bundle(mode, target, path, name, depPath string, tagsCustom string, fast bo
utils.RunCmd(dep, fmt.Sprintf("deploy for %v on %v", target, runtime.GOOS))
case "linux", "rpi1", "rpi2", "rpi3":
defer func() {
filepath.Walk(depPath, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if info.IsDir() {
return nil
}
if strings.HasPrefix(filepath.Base(path), "lib") {
utils.RunCmd(exec.Command("strip", "-s", path), "strip binaries on linux")
}
return nil
})
}()
//copy default assets
utils.SaveExec(filepath.Join(depPath, fmt.Sprintf("%v.sh", name)), linux_sh(target, name))
@ -179,7 +193,7 @@ func bundle(mode, target, path, name, depPath string, tagsCustom string, fast bo
if info.IsDir() {
return nil
}
if filepath.Ext(info.Name()) == ".debug" || filepath.Ext(info.Name()) == ".qmlc" {
if filepath.Ext(info.Name()) == ".debug" || filepath.Ext(info.Name()) == ".qmlc" || filepath.Ext(info.Name()) == ".jsc" {
utils.RemoveAll(path)
}
return nil

View file

@ -2,6 +2,7 @@ package setup
import (
"fmt"
"os"
"os/exec"
"runtime"
"strings"
@ -22,22 +23,26 @@ func Generate(target string, docker, vagrant bool) {
parser.LoadModules()
mode := "full"
switch {
case target == "js", target == "wasm":
case target != runtime.GOOS:
mode = "cgo"
case utils.QT_STUB():
mode = "stub"
}
if target == "windows" && runtime.GOOS == target {
os.Setenv("QT_DEBUG_CONSOLE", "true")
}
for _, module := range parser.GetLibs() {
if !parser.ShouldBuildForTarget(module, target) {
utils.Log.Debugf("skipping generation of %v for %v", module, target)
continue
}
mode := "full"
switch {
case target == "js", target == "wasm":
case target != runtime.GOOS:
mode = "cgo"
case utils.QT_STUB():
mode = "stub"
}
utils.Log.Infof("generating %v qt/%v", mode, strings.ToLower(module))
if target == runtime.GOOS || utils.QT_FAT() || (mode == "full" && (target == "js" || target == "wasm")) { //TODO: REVIEW

10
internal/cmd/tools.go Normal file
View file

@ -0,0 +1,10 @@
// +build tools
package cmd
import (
//only needed for module support ->
_ "github.com/gopherjs/gopherjs"
_ "github.com/therecipe/qt/internal/binding/files/docs"
//<-
)

View file

@ -12,6 +12,7 @@ RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install dbus fo
RUN QT=qt-unified-linux-x64-online.run && curl -sL --retry 10 --retry-delay 60 -O https://download.qt.io/official_releases/online_installers/$QT && chmod +x $QT && QT_QPA_PLATFORM=minimal ./$QT --script $GOPATH/src/github.com/therecipe/qt/internal/ci/iscript.qs LINUX=true
RUN find /opt/Qt/5.12.0 -type f -name "*.debug" -delete
RUN find /opt/Qt/Docs -type f ! -name "*.index" -delete
RUN find /opt/Qt/5.12.0/gcc_64 -type f ! -name "*.a" -name "lib*" -exec strip -s {} \;
FROM ubuntu:16.04
@ -30,6 +31,7 @@ COPY --from=base $GOPATH/bin $GOPATH/bin
COPY --from=base $GOPATH/src/github.com/therecipe/qt $GOPATH/src/github.com/therecipe/qt
COPY --from=base /opt/Qt/5.12.0 /opt/Qt/5.12.0
COPY --from=base /opt/Qt/Docs /opt/Qt/Docs
COPY --from=base /opt/Qt/Licenses /opt/Qt/Licenses
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install build-essential libglib2.0-dev libglu1-mesa-dev libpulse-dev \
&& apt-get --no-install-recommends -qq -y install fontconfig libasound2 libegl1-mesa libnss3 libpci3 libxcomposite1 libxcursor1 libxi6 libxrandr2 libxtst6 && apt-get -qq clean

View file

@ -15,6 +15,7 @@ ENV USER user
ENV HOME /home/$USER
ENV GOPATH $HOME/work
ENV PATH /usr/local/go/bin:$PATH
ENV QT_API 5.12.0
ENV QT_DOCKER true
ENV QT_PKG_CONFIG true

View file

@ -1,11 +1,25 @@
module github.com/therecipe/qt/internal/examples
require (
github.com/emirpasic/gods v1.12.0 // indirect
github.com/fogleman/gg v1.1.0 // indirect
github.com/fogleman/ln v0.0.0-20170223135521-12e6c6e74459 // indirect
github.com/fogleman/pt v0.0.0-20170619012416-6fa0015c2178 // indirect
github.com/therecipe/qt v0.0.0-20181217175635-86108509bd0c // indirect
golang.org/x/net v0.0.0-20181217023233-e147a9138326 // indirect
google.golang.org/grpc v1.17.0 // indirect
cloud.google.com/go v0.34.0 // indirect
github.com/boltdb/bolt v1.3.1
github.com/emirpasic/gods v1.12.0
github.com/fogleman/gg v1.1.0
github.com/fogleman/ln v0.0.0-20170223135521-12e6c6e74459
github.com/fogleman/pt v0.0.0-20170619012416-6fa0015c2178
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/golang/mock v1.2.0 // indirect
github.com/golang/protobuf v1.2.0
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e
golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b // indirect
golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1 // indirect
golang.org/x/net v0.0.0-20181217023233-e147a9138326
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890 // indirect
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f // indirect
golang.org/x/sys v0.0.0-20181218192612-074acd46bca6 // indirect
golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e // indirect
google.golang.org/appengine v1.3.0 // indirect
google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb // indirect
google.golang.org/grpc v1.17.0
honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3 // indirect
)

View file

@ -1,34 +1,41 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=
github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
github.com/fogleman/gg v1.1.0 h1:wVTfU9tB/LDr2eI5HILatkzBQLD3yl0KtPFt8KlcSIY=
github.com/fogleman/gg v1.1.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fogleman/ln v0.0.0-20170223135521-12e6c6e74459 h1:FNZL5NQ+5AjQhfJyLtsOvHwfBdaCs5zRCXnOgsueUYo=
github.com/fogleman/ln v0.0.0-20170223135521-12e6c6e74459/go.mod h1:88uTXbq5TLI2G6TH5cBcbfl4x5jaTbKLgMjshwLPGmo=
github.com/fogleman/pt v0.0.0-20170619012416-6fa0015c2178 h1:4TnvdTCFXrGh+yjYmzMrrc9V0o29xB/J2pldpxDfUrg=
github.com/fogleman/pt v0.0.0-20170619012416-6fa0015c2178/go.mod h1:7L0Ag5f6vgYY8ILH9R2Jbn0I4rShliILuSP0kXpxOFQ=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1ks85zJ1lfDGgIiMDuIptTOhJq+zKyg=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/grpc-ecosystem/grpc-gateway v1.6.2 h1:8KyC64BiO8ndiGHY5DlFWWdangUPC9QHPakFRre/Ud0=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/therecipe/qt v0.0.0-20181217175635-86108509bd0c h1:6pm+RjDisurjNm8mIYtqTuP14YnPnkOuikJQTCZNJe8=
github.com/therecipe/qt v0.0.0-20181217175635-86108509bd0c/go.mod h1:Iq/oaa39y01vL+lPnuYp68I2X74K+/ACvH8yA1+ubH8=
golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs=
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181217023233-e147a9138326 h1:iCzOf0xz39Tstp+Tu/WwyGjUXCk34QhQORRxBeXXTA4=
golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181217023233-e147a9138326/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181218192612-074acd46bca6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/grpc v1.17.0 h1:TRJYBgMclJvGYn2rIMjj+h9KtMt5r1Ij7ODVRIZkwhk=
google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg=
google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

View file

@ -1 +1,19 @@
module github.com/therecipe/qt/internal
require (
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/kisielk/gotool v1.0.0 // indirect
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 // indirect
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab // indirect
github.com/shurcooL/go v0.0.0-20181215222900-0143a8f55f04 // indirect
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 // indirect
github.com/sirupsen/logrus v1.2.0
github.com/spf13/cobra v0.0.3 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/stretchr/testify v1.2.2
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9
golang.org/x/sys v0.0.0-20181218192612-074acd46bca6 // indirect
golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e
)

21
internal/go.sum Normal file
View file

@ -0,0 +1,21 @@
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo=
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/shurcooL/go v0.0.0-20181215222900-0143a8f55f04/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181218192612-074acd46bca6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

View file

@ -1,3 +0,0 @@
package internal
import _ "github.com/therecipe/qt/internal/binding/files/docs"