Commit graph

163 commits

Author SHA1 Message Date
Matthias Fulz
a5001013d4 ANDROID_EXTRA_LIBS and ANDROID_MODULES_INCLUDE for library inclusion 2020-08-24 18:25:47 +02:00
therecipe
b44a7874e0 fix qtmoc go object related issues + initial support for the go interop wrapper to allow cgo-less usage of therecipe/qt 2020-08-12 14:39:11 +02:00
therecipe
7f61353ee7 add support for haxe and swift + fix interop stack overflow issue
* fix unsafe pointer arithmetic issues
2020-07-01 22:05:31 +02:00
therecipe
66b61001d1 more CI fixes + fixes for msys2 + fixes for flutter deployments + minor example changes 2020-06-05 20:45:20 +02:00
therecipe
c94e36745d fix the CI image builds again + some flutter deployment related changes 2020-06-03 17:14:12 +02:00
therecipe
4e7b8703b1 initial commit of the interop engine + new flutter module + fixes for minor issues
this commit introduces the new experimental `interop` module, which is used to allow the use of `therecipe/qt` from languages other than go or javascript.
as a start, there was support for the dart language added (currently only in combination with a custom flutter embedder engine, but plain dart support should follow soon).
the interop module makes great use of the qml/js interop functions and logic that were written to make `https://github.com/therecipe/entry` possible.
additional languages that are planned to be supported in the near future are: swift, kotlin and haxe (maybe with support for the c#, python and java targets, but if this isn't possible in some clean way then these languages will receive standalone bindings as well).
people using `therecipe/qt` from these new languages should then be able to use flutter (and dart) in combination with qt (and go/js) through this binding and also be able to easily communicate across the language barriers with the help of the interop functions.
the interop engine theoretically also makes a cgo-less `therecipe/qt` usage possible, which could be used to workaround the ever growing annoyances that are experienced when using cgo projects in combination with go modules.
the code for the custom flutter embedder that was created to make the flutter/dart binding work can be found in the `flutter` module. it currently only supports debug builds for the desktop targets, but if there is enough interest, then it shouldn't be too difficult to make release builds there, and on the mobile targets work as well (or even on "embedded" systems such as an raspberry pi for that matter).
an example repo how to use the new flutter/dart binding, will be published in the next few days.
2020-06-01 21:40:46 +02:00
therecipe
e1f2cf7157 fix the CI image builds again + fix for Go 1.14 module issue 2020-05-31 01:30:13 +02:00
therecipe
606d6c7798 fixes for android deployments + new example + fix go module related issue 2020-01-25 21:18:38 +01:00
Ángel
9d559bd895
Fixed mismatching -D__ANDROID_API__ cgo flag thorough building steps
Signed-off-by: Ángel <angelo.fly1@gmail.com>
2020-01-09 08:48:50 +01:00
therecipe
6dbef71d44 various changes related to the js binding 2019-12-10 17:08:50 +01:00
therecipe
47559b8cfa fixes for various potential memory leaks
* speedup js binding generation + minor js related fixes
* support for private quickcontrols2 classes with `QT_GEN_QUICK_EXTRAS=true`
* fix for static linux deployment issue
* minor example updates
* fix for minor qtmoc docker related issue
2019-11-28 18:42:54 +01:00
therecipe
d5ef93df38 fix deployment size issue + new plugins examples 2019-11-20 15:18:39 +01:00
therecipe
5875595329
Merge pull request #1011 from angiglesias/feature-configurable_android_api
Added suport for customizable Android API level
2019-11-10 20:02:33 +01:00
therecipe
c9ba132582 fix various minor issues 2019-11-08 13:54:10 +01:00
Ángel
5782c449a3
Added suport for customizable Android API level
The Android API level can be customized changing the ANDROID_NDK_PLATFORM environment variable in
the host system. The value of this variable will be passed to QMake to generate the correct flags
required to build cgo using the Android NDK toolchain as backend.

Signed-off-by: Ángel <angelo.fly1@gmail.com>
2019-11-08 13:45:48 +01:00
therecipe
6d18dd68e5 update README + minor fixes
* some initial fixes for Qt 5.14
* auto register moc stuct meta types
2019-10-23 01:27:33 +02:00
therecipe
1097424d65 fix go module related issues 2019-10-20 00:43:06 +02:00
Ángel
a39b157b41 Reimplemented Android NDK properties parsing inside go instead of calling sed 2019-10-15 02:38:08 +02:00
Ángel
69b7a8af79 Added support for Android NDK r20
Detailed information: https://bugreports.qt.io/browse/QTBUG-76293
2019-10-13 20:22:35 +02:00
therecipe
e9f3046c76 new (*QObject).ConnectSignal function + new fedora docker image
* new docker images to make it easier to deploy to "embedded" armv6/armv7/arm64 systems such as Raspberry Pi, Orange Pi, Banana Pi, BeagleBone, BeagleBoard, ODROID, Asus Tinker Board, ...
2019-10-06 22:14:18 +02:00
therecipe
cd53818b8f new felgo module + support for env related QtGlobal functions + new QT_RESOURCES_BIG env var 2019-09-28 18:21:38 +02:00
therecipe
60e39e0bfc more msvc related fixes + minor cleanups 2019-09-24 00:03:23 +02:00
therecipe
46e554d25d fix go module related issues + re-add various functions 2019-09-14 19:07:15 +02:00
therecipe
fe13d77631 fix msvc deployments + fix quickcompiler support on windows 2019-09-12 19:23:17 +02:00
therecipe
33ee7b247d experimental support for the msvc builds to get the webengine/webview modules working on windows
* Go 1.13 related fixes for js/wasm
* fix windows docker deployment issue
* new 3rdparty/UGlobalHotkey example
* fix webengine module on arch linux
* support for the prebuilt Qt wasm builds
* make use of -trimpath if available
* bump Go version in docker images to 1.12.9
2019-09-10 20:17:30 +02:00
therecipe
d6c64b2b90 fixes for Go 1.13 2019-09-04 02:09:11 +02:00
therecipe
615e084bab fix go module issue + fix examples + fix qtmoc regression + dirty workaround for go 1.13 build tag bug 2019-08-24 18:09:53 +02:00
therecipe
9e361992b5 fix go module related issues + cut down go module dependencies 2019-08-22 00:19:01 +02:00
therecipe
9e0d301216 breaking changes: bump default Qt version to 5.13.0
* fixes for Go 1.13 + retain go module 1.12 GOPATH behavior for internal/examples
* update docker images to 5.13.0
* new docker images (windows_64_shared_512, linux_512, darwin_512)
* update examples to match the Qt 5.13 api
* bump android minSdkVersion to 21 (5.0 / lollipop)
* bump OpenSSL version for android docker deployments to 1.1.1a
* let the binding use the 513 env by default

you can use QT_VERSION=5.12.0 and/or QT_API=5.12.0 to keep the binding backward compatible with your code
just setting QT_API=5.12.0 alone should also be sufficient to keep docker deployments working
if you did install an official Qt version then just set the correct QT_VERSION and procede as usual
2019-06-27 22:16:04 +02:00
therecipe
0aa6d6dc1a fix sailfish support + fix linux deployment issue + fix some minor issues 2019-06-26 22:31:33 +02:00
therecipe
0c188103d8 support for FreeBSD + fix webengine deployment on linux + pass PKG_CONFIG_PATH to docker 2019-06-06 01:07:51 +02:00
therecipe
0167e2b766 fix setup issues on linux + detect go version at runtime + let examples use NewQVariant1 + add pkg-config to docker images 2019-06-01 23:45:14 +02:00
therecipe
38467ad28e improved type compatibility with qml through the transparent type conversion of QVariant
* qml support for map[string]T, map[string]map[string]*QVariant, [][]*QVariant, []map[string]*QVariant and map[string][]*QVariant
* qml support for []*CustomMocStruct
* new "NewQVariant1(interface{}) *QVariant" and "(*QVariant).ToInterface() interface{}" functions
* fix docker go module support
2019-05-16 05:31:11 +02:00
therecipe
89b7941f48 overall deployment speedup and size reduction
* various fixes for js/wasm ([]byte support, quickcompiler support, moc fixes)
* docker go modules support
* android arm64 support
* hide rarely used dependencies behind build flags
* various minor fixes
2019-05-13 20:37:59 +02:00
therecipe
cf6956137a fix static linux docker image + uic support on linux + go module issue 2019-05-08 01:03:25 +02:00
therecipe
9f97258ffe support for quickcompiler + minor cleanup + qtmoc speedup 2019-05-01 02:39:02 +02:00
therecipe
746779e4c0 minor cleanup + fix iOS linking issue 2019-04-28 02:44:55 +02:00
therecipe
27fd3fea5f fix docker builds + reduce go module encapsulation + make setup more portable 2019-04-21 01:03:23 +02:00
therecipe
79b8fae1a7 breaking changes: support *long + change internal qt.{Connect,Get,Lend}Signal signature
* various minor fixes and cleanups
* support interface{} returns for js/wasm
* fix android builds on darwin
* support for the virtualkeyboard module
* fixes for docker image builds
* cleanup callback handling
* fix possible moc memory leaks
* new virtualkeyboard examples
2019-04-20 19:34:45 +02:00
therecipe
47435cc1dd various fixes for wasm, raspberry, go 1.12 and minor issues + initial support for Felgo (former V-Play)
* js/wasm GOCACHE fix for Go 1.12+
* make use of the official Go 1.12 wasm build and replace js.NewCallback with js.FuncOf
* update docker images to Go 1.12.4
* revive raspberry images
* fix raspberry related bundling issue
* add the multimedia module to the raspberry images
* fix raspberry related QT_API issue
* remove unecessary *char to []byte copy overhead in some unlikely cases
* fix Qt install script
* initial partially support for Felgo (former V-Play) on darwin
* fix charts/audio example and darwin
* fix common/widgets_demo example on iOS (issue #451)
* fix widgets/renderer memory leak
* fix possible QT_PKG_CONFIG + QT_VERSION race condition
* fix static linux docker image
2019-04-16 18:28:55 +02:00
therecipe
18d257176d fix for msys2 setup + fix static linux build issues + various minor fixes 2019-04-12 02:49:39 +02:00
therecipe
be7a7d5463 new static linux docker image + add qtsetup failfast flag + minor fix for docker deployments 2019-04-07 00:31:32 +02:00
therecipe
f041de0bd7 support 32bit windows builds again 2019-03-30 17:41:02 +01:00
therecipe
e73768bc9b minor fix 2019-01-21 22:14:26 +01:00
therecipe
be468a4be7 more fixes for go modules 2019-01-21 19:28:43 +01:00
therecipe
df49a978e8 fix rpath issue on linux again + more fixes for go modules 2019-01-18 04:38:48 +01:00
therecipe
39753cb4ef support for QWebEnginePage::print + skip generation of QOpenGLFunctions_* + fix for go modules desktop env
* generation of QOpenGLFunctions_ can be re-enabled by setting the "QT_GEN_OPENGL" env var
2019-01-15 01:19:42 +01:00
therecipe
32b5277246 remove verbose complains about missing modules post installation
+ minor fix for msys2 qml deployment issues
+ explicitly mention the GPLv3 license for certain modules during the setup
2019-01-10 19:49:33 +01:00
therecipe
86108509bd initial support for go modules 2018-12-17 18:56:35 +01:00
therecipe
5746a84fb2 support for Qt 5.12
* use clang for android builds
* official windows builds are 64 bit now
2018-12-17 01:52:29 +01:00