- Added missing target condition on "internal/cmd/deploy/build.go"
- Refactored flag append command on "internal/utils/flags.go" and
added tests to verify function behaviour
Changes tested on Go 1.14.7 and Qt 5.13.2 and Qt 5.15.0
Signed-off-by: Ángel <angelo.fly1@gmail.com>
The expected shared library soname ("libgo_base.so") is injected to go build using "extldflags" ldflag
This fix was tested successfully on Qt 5.13.2, 5.14.2 and 5.15.0. Previously to this patch, on Qt 5.14.0+
libgo_base.so soname was libruntime_<arch>.so, resulting in linking error when the application was executed
on a device
Signed-off-by: Ángel <angelo.fly1@gmail.com>
This quick patch fixes an error that freezes an application using Qml built against
Qt 5.15. Apparently, libqtquick2plugin.so tries to load those two libraries during
applicaction startup
Signed-off-by: Ángel <angelo.fly1@gmail.com>
This commit replaces the default (cgo) binding with a cgo-less one, which was generated by setting "QT_GEN_GO=true" prior running qtsetup.
The cgo-less version is still experimental and also lacking integration with most of the advanced features provided by qtmoc and qtrcc, but it should already be sufficiently stable and cover a great part of the basic features.
The intention for these changes are to simplify and speedup onboarding of new users, speedup development circles of existing users, simplify the usage of this package in a go module context and also to have the portable therecipe/qt runtime (http://github.com/therecipe/box) tested more broadly.
Also since this version removes all dependencies on cgo, one is now able to "go get" an project that makes use of therecipe/qt like this: ("go get -ldflags="-w" github.com/therecipe/examples/basic/widgets && $(go env GOPATH)/bin/widgets") without any additional requirements.