Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
therecipe
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
therecipe
7y ago
repo link: https://github.com/therecipe/entry
2.
▲
Show HN: Fully Featured Qt Binding for JavaScript
(therecipe.github.io)
1 points
by
therecipe
7y ago
|
1 comments
3.
▲
by
therecipe
8y ago
If you are on mobile, here is the direct link to the repo: https://github.com/therecipe/widgets_playground Sorry, the widgets playground isn't really meant to be used on mobile devices. The next playground will be
4.
▲
Show HN: Write Qt for WebAssembly Applications Entirely in Go And/or JavaScript
(therecipe.github.io)
11 points
by
therecipe
8y ago
|
1 comments
5.
▲
by
therecipe
9y ago
I think you can't simply reuse the rpi3 env, but you can use it as a template to how to get this working for the beaglebone black. So you would need to get a cross compiler and then extract the sysroot to compile Qt on your own. After
6.
▲
by
therecipe
9y ago
It could probably work, but plugins currently only work on linux.
7.
▲
by
therecipe
9y ago
The file size depends on the target and what modules you use, for dynamically linked projects I would guess it's around 50mb for an average project. Maybe 20mb more on windows because of the icu libs, but those can be replaced with you
8.
▲
by
therecipe
9y ago
thank you :)
9.
▲
by
therecipe
9y ago
It depends on how much you want to embrace docker. In general you can use this binding without touching docker at all. But if you want, you can use docker in every step of the process. It starts with the minimal setup that just depends on G
10.
▲
by
therecipe
9y ago
:)
11.
▲
by
therecipe
9y ago
go-qml, like the name suggests allows you to use QML together with Go. This binding allows you to also use Qt's C++ API. And it contains some tools to simplify deployment and development processes.
12.
▲
by
therecipe
9y ago
If Qt supports it, then you can probably get it working with this binding as well.
13.
▲
by
therecipe
9y ago
yes, the .cpp .h and *.go files are all generated
14.
▲
by
therecipe
9y ago
it's in the internal package: https://github.com/therecipe/qt/tree/master/internal/binding
15.
▲
by
therecipe
9y ago
no
16.
▲
by
therecipe
9y ago
qtdeploy is intended to be used for deploying and therefore will run qtrcc, qtmoc, qtminimal and do the actual bundling of your binary. the -fast flag re-uses the cached rcc_* moc_* minimal-* files and will also not re-run the actual bundli
17.
▲
by
therecipe
9y ago
thank you :)
18.
▲
by
therecipe
9y ago
it's automatically generated against the Qt version you use when you run the setup. the generator is also used to power qtmoc and qtminimal.
19.
▲
by
therecipe
9y ago
it depends on the target [1] and which Qt version you use, the default "official" Qt version usually dynamically links against Qt's libs. for windows for example you can use the msys2 version (on windows), which can also be s
20.
▲
Show HN: Qt binding for Go with support for all major operating systems
(therecipe.github.io)
222 points
by
therecipe
9y ago
|
74 comments
21.
▲
by
therecipe
10y ago
shameless plug for my Go binding: https://github.com/therecipe/qt it's still WIP though
22.
▲
by
therecipe
10y ago
Mh, usually the minimal_cgo_* files and the cgo_* files should use the same imports. But the qtsetup won't always re-generate these cgo_* files if the QT_DIR is up to date (there is probably a bug if you use QT_PKG_CONFIG). So I would
23.
▲
by
therecipe
10y ago
Did you tried to use QT_MISC_DIR (which should contains the "mkspecs" subfolder) and QT_DOC_DIR, which should contain for example (QtCore/qtcore.index)? Or if you like, open an issue on github and we can try to sort this out
24.
▲
by
therecipe
10y ago
I don't know as what you define free. But Qt is as far as I know is available under LGPL, GPL and under a commercial license. Also they co-operate with the KDE project and made sure that it will stay "free" IIRC.
25.
▲
by
therecipe
10y ago
Thank you :) I should probably mention that Option 1 is still depending on all the system/dynamic libs. And therefore only usefull to save time during development or if you need more control about the build. If you want to get a smalle
26.
▲
by
therecipe
10y ago
author here; The size depends on your platform and the way you build it. If you used `qtdeploy` instead of `go run/build`, you should get a 2mb binary which includes Go's runtime + only the needed Qt C++ code. (A normal go binary
27.
▲
by
therecipe
10y ago
author here; Using Docker saved me from creating the code to cross compile from windows->linux, darwin->linux/windows, ... And this alone was worth it, but being able to ship something that works out of the box is nice a nice bon
28.
▲
by
therecipe
10y ago
Thank you very much :)
29.
▲
by
therecipe
10y ago
author here; Thank you :)
30.
▲
by
therecipe
10y ago
author here; Yes, as well as material design and all the stuff that comes with QML/Qt Quick.
More ›