768 Commits

Author SHA1 Message Date
f0517fb088
Merge pull request #177 from mappu/miqt-android-qt6
Android Qt 6 support
2025-02-15 18:40:30 +13:00
d6ad680e28 doc/README: update docker instructions for Qt6 android build 2025-02-15 18:21:35 +13:00
99e6bd2a87 github/ci: add test for android qt6 build 2025-02-15 18:21:30 +13:00
394ff705dd github/ci: include version/platform in all cache key names 2025-02-15 18:21:30 +13:00
6eb3650918 examples/android6: add screenshot from built apk 2025-02-15 18:21:30 +13:00
a67d7cfe65 examples: add android6 example 2025-02-15 17:19:43 +13:00
98567bf4ee android: update mktemplate and stub-gen for the new qt6-android container 2025-02-15 17:19:43 +13:00
53ae4b7d16 qt: rebuild (prevent using qsharedmemory on android) 2025-02-15 17:19:43 +13:00
da874c95ed genbindings: prevent using qt6 qsharedmemory on android 2025-02-15 17:19:43 +13:00
f8e429b362 docker: qt6-android: add initial container based on aqtinstall 2025-02-15 17:19:40 +13:00
1a29763a4b docker: qt5-android: the -D_Bool=bool trick is no longer required 2025-02-15 17:14:00 +13:00
96ddff8c71
Merge pull request #176 from mappu/miqt-virtualbase-fix
Convert virtualbase wrapper functions to friend functions (v2)
2025-02-15 17:13:37 +13:00
34c93530cb qt: rebuild (prevent recursive calls in virtualbase) 2025-02-15 15:01:03 +13:00
2f6817ac32 genbindings: virtualbase calls should not call the subclass 2025-02-15 15:00:50 +13:00
aa6a401fb6 qt: rebuild (replace virtualbase wrappers with friend functions) 2025-02-08 14:42:41 +13:00
83989fd87e genbindings: replace virtualbase wrapper with friend function 2025-02-08 14:42:37 +13:00
1e26114255 genbindings: extract fixupProtectedReferences() to separate function 2025-02-08 14:42:37 +13:00
d94f21f322
Merge pull request #166 from mappu/miqt-protected-methods
Add bindings for protected methods
2025-02-08 13:36:54 +13:00
38602912cc qt: rebuild (add protected methods) 2025-02-08 12:29:03 +13:00
f045d87bf5 genbindings: workaround clang access to protected enums from friend funcs 2025-02-08 12:28:59 +13:00
d63facdcda genbindings: add another name-helper for the virtual subclass 2025-02-08 12:28:58 +13:00
78fae7cbcb genbindings/cabi: zero values in CABI should use enum's underlying type 2025-02-08 10:39:42 +13:00
f192a6a330 genbindings/go: conditionally disable extra return type indirection 2025-02-08 10:39:42 +13:00
c1bf148a5a genbindings: generate bindings for protected methods 2025-02-08 10:39:42 +13:00
Jacek Sieka
73c30809d2 genbindings: add ProtectedMethods() helper 2025-02-08 10:39:42 +13:00
a2192d8eab genbindings: fix linter warning about function comment 2025-02-08 10:39:42 +13:00
12df341a57
Merge pull request #167 from mappu/miqt-uic-rcc-updates
uic, rcc: Add -Qt6 flag, fix relative paths for embedding files
2025-02-08 10:37:30 +13:00
5eed43069e rcc/test: verify mtime changes 2025-02-08 10:05:31 +13:00
d8c52499c1 rcc/test: support PATH separator difference on Windows 2025-02-08 10:05:31 +13:00
dfbe5a0835 rcc, uic: add the -Help output to package README.md files 2025-02-08 10:05:31 +13:00
7bacd37161 uic: add -Qt6 argument 2025-02-08 10:05:31 +13:00
8b20ff1070 rcc: add an integration test 2025-02-08 10:05:31 +13:00
730153c7f2 rcc: construct a more accurate go:generate line for rebuilding 2025-02-08 10:05:31 +13:00
d8cb5494a0 rcc: use a relative path in the go:embed line 2025-02-08 10:05:31 +13:00
0da95c13f8 rcc: use simpler error handling with a wrapper main 2025-02-08 10:05:31 +13:00
b1c757cd3c rcc: allow specifying a custom rcc binary 2025-02-08 10:05:31 +13:00
adc3f08d4d rcc: infer embed data rcc filename from go file instead of qrc file 2025-02-08 10:05:31 +13:00
78c1178a62 rcc: add -Qt6 flag 2025-02-08 10:05:31 +13:00
b61e12fcc9
Merge pull request #169 from mappu/miqt-fix-qt682
Qt 6.8.2 compatibility fix for QStringConverterBase
2025-02-08 10:04:40 +13:00
ac9b545036 qt: rebuild (block QStringConverterBase constructors) 2025-02-07 19:14:09 +13:00
647e034772 genbindings: block QStringConverterBase constructors 2025-02-07 19:13:35 +13:00
0b39af57e3 genbindings: add new AllowCtor framework 2025-02-07 18:55:01 +13:00
cae8967119
Merge pull request #160 from mappu/miqt-fix-go-names-change
Fix unexpected change in Go function names for overriding subclass methods
2025-02-01 15:02:11 +13:00
bea571e2dc qt: rebuild (fix names changing in the Go projection) 2025-02-01 14:36:10 +13:00
daf3e82896 genbindings: subclass override functions need to use goMethodName 2025-02-01 14:35:54 +13:00
4eb07a18ea
Merge pull request #132 from arnetheduck/cnames
Move `go` name mangling to `emitgo`
2025-02-01 14:25:05 +13:00
Jacek Sieka
4e78075fa7 qt: rebuild (update name mangling) 2025-02-01 13:45:22 +13:00
Jacek Sieka
187c0a02ec Move go name mangling to emitgo
This change helps keep rules for each language separate by moving `go`
rules to `emitgo` while the C bindings stay closer to the original Qt
naming (that already is mostly C-safe).

Although it doesn't practically matter for go, it makes it slightly
easier to reuse the generated code in other languages which have
different keywords and naming conventions.

The cabi generator also gains a few helpers to help keep names
consistent across files which hopefully aids reading the generator code
- it did for me at least;)

The rule that converts under_score to CamelCase is left for another day
since moving it turns out to be more invasive due to name collision
handling - when underscores are kept, there are fewer name conflicts
which ends up causing name changes in  the public go api when done
naively.
2025-02-01 13:44:32 +13:00
e4e9f4dce1
Merge pull request #158 from mappu/miqt-readme-updates-20250201
doc/README: Update project list, update binding comparisons
2025-02-01 13:23:49 +13:00
1ab7b48e6d
Merge pull request #153 from arnetheduck/const-callback
`const` in callbacks
2025-02-01 12:35:17 +13:00