Earlier quoted context omitted.
> the competing library is "soon" to release a commercial license No, after many years this never became available, and the maintainer went missing, taking the copyright with them. If it was really possible to buy a commercial license it's possible I might not have bothered to make the binding. My hope is that by choosing the MIT license for my bindings, one commercial app in the world will choose to use Qt Widgets i…
Isn't Qt still proprietary or semi-proprietary?
Miqt: MIT-licensed Qt bindings for Go
31–40 of 92 posts
Re: Miqt: MIT-licensed Qt bindings for Go
#32Earlier quoted context omitted.
I'm probably oversimplifying things, but for me "permissive license" (MIT, BSD) is equivalent to the term "open source", and "copyleft license" ((L)GPL) "free software". I know that the term "open source" also includes (L)GPL-licensed software, but the "free software" advocates resist being lumped together with software that they perceive to be less free, so they very much prefer "free software".
so less permissive = more free. gives me something to think about.
From the FSF perspective, your freedom to make the source code less free stands in direct opposition to the freedom of the source code.
Re: Miqt: MIT-licensed Qt bindings for Go
#33Earlier quoted context omitted.
> the competing library is "soon" to release a commercial license No, after many years this never became available, and the maintainer went missing, taking the copyright with them. If it was really possible to buy a commercial license it's possible I might not have bothered to make the binding. My hope is that by choosing the MIT license for my bindings, one commercial app in the world will choose to use Qt Widgets i…
Isn't Qt still proprietary or semi-proprietary?
Re: Miqt: MIT-licensed Qt bindings for Go
#34Earlier quoted context omitted.
Ah, that's a part of Lazarus (the "pas" at the end is a giveaway). Actually I've had this idea for some time that integrating Go into Lazarus might be worthwhile - I was a Delphi developer before I "jumped ship" to web development, but I still like the effortless way of building GUI applications with a proper GUI design tool, and Go's speed of compilation and some syntax elements make it appealing for Pascal develope…
You might like this : https://github.com/ying32/govcl
It does work, but I had hoped for more, it is simply too far behind in many ways and is stuck on GTK2 (so no high DPI support). The LCL itself does support GTK3 and Qt5 (and nothing newer), but recompiling GoVCL to use them broke quite badly.
Re: Miqt: MIT-licensed Qt bindings for Go
#35Does this support Qt Quick and QML?
No(t yet), i've focused on the traditional desktop Widgets toolkit. There are other existing QML/Go bindings you might be interested in. Qt Widgets has a lot of benefits over QML. It is native compiled code whereas QML is interpreted; the native compiler (qmlsc) is proprietary and only available for commercial licensees. If you are happy with a large runtime for an interpreted UI then I'd suggest looking at web techn…
Secondly, my knowledge about the internal build tools such as qmltc, qmlcachegen, and qmlsc is quite limited, but isn't qmlcachegen also compiles QML documents[2]? And don't forget that the built-in Qt Quick components are either compiled to C++ or written natively in C++.
[2] https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html#summ...
Re: Miqt: MIT-licensed Qt bindings for Go
#36Earlier quoted context omitted.
A lot of kitech's work was in making the large C ABI wrapper. There's another C ABI wrapper already in Debian (libqt5pas) that might be possible to use directly.
Ah, that's a part of Lazarus (the "pas" at the end is a giveaway). Actually I've had this idea for some time that integrating Go into Lazarus might be worthwhile - I was a Delphi developer before I "jumped ship" to web development, but I still like the effortless way of building GUI applications with a proper GUI design tool, and Go's speed of compilation and some syntax elements make it appealing for Pascal develope…
I really like this too. Qt Widgets offers this too, with the Qt Designer app. It's really easy to use, just like Delphi, Winforms or old VB6.
The Qt Creator IDE has integrated designer and also LSP support for Go, an integration could be really interesting for rapid development.
Re: Miqt: MIT-licensed Qt bindings for Go
#37Earlier quoted context omitted.
> the competing library is "soon" to release a commercial license No, after many years this never became available, and the maintainer went missing, taking the copyright with them. If it was really possible to buy a commercial license it's possible I might not have bothered to make the binding. My hope is that by choosing the MIT license for my bindings, one commercial app in the world will choose to use Qt Widgets i…
Isn't Qt still proprietary or semi-proprietary?
They have succeeded in convincing me, for example. I don't want to build anything on a platform where the vendor is trying to drive me away
Re: Miqt: MIT-licensed Qt bindings for Go
#38Earlier quoted context omitted.
Isn't Qt still proprietary or semi-proprietary?
No. Just Qt Company hides this as much as they can.
Re: Miqt: MIT-licensed Qt bindings for Go
#39Is it possible to extend/subclass an existing QWidget and customise it?
Until then, a nice feature of CGO is you can write one custom Qt subclass in a .cpp file in the same folder as your .go files. Your C++ will be compiled with `go build`, and you can use your custom class directly from Go/MIQT. So even if some advanced Qt feature is not in the binding, anything is still possible at least. I'll make an example about this.
Re: Miqt: MIT-licensed Qt bindings for Go
#40Earlier quoted context omitted.
No(t yet), i've focused on the traditional desktop Widgets toolkit. There are other existing QML/Go bindings you might be interested in. Qt Widgets has a lot of benefits over QML. It is native compiled code whereas QML is interpreted; the native compiler (qmlsc) is proprietary and only available for commercial licensees. If you are happy with a large runtime for an interpreted UI then I'd suggest looking at web techn…
First of all, I wrote a block editor in QML[1] (the model in C++) that far outperform QTextEdit (part of Qt Widgets) at loading, scrolling and word-wrap resizing of very large documents (think, War and Peace) *with* the additional cost of being a block editor that can include a Kanban board, images, etc. So saying QML isn't performant is incorrect. Secondly, my knowledge about the internal build tools such as qmltc,…
qmlcachegen produces only bytecode, not compiled code.