Earlier quoted context omitted.
Can you elaborate on “recipe for tears”?
The imperative parts of QML is javascript. So lack of type safety in larger apps can start getting really annoying, especially once the code base starts to age and not all corners of the code base gets tested every day. Other than that, beginners to the codebase tend to break property bindings without realizing. There are a few tools to catch this at runtime, but would be nice to do this at compile time. Also not all…
Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
61–70 of 107 posts
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#62Earlier quoted context omitted.
Not OP, but QML is not a great language to put more logic than simple bindings and functions like Button { text: "Save" enabled: textField.text.length > 0 // this is reactive to the value of a TextField onClicked: Backend.save() } as soon as you try to for example implement the save method in JS/QML this starts to become very painful as it often ends up with a lot of spaghetti code. The very cool thing with QML is th…
It is also possible to have a backend implemented in JS in similar way. Though I personally only have used in intial UI prototype which I latter swapped with Julia backend.
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#63Earlier quoted context omitted.
It is also possible to have a backend implemented in JS in similar way. Though I personally only have used in intial UI prototype which I latter swapped with Julia backend.
I'm curious about julia as a gui language: mind sharing your code/project?
[1]: https://github.com/PeaceFounder/PeaceFounderClient/tree/main
[2]: https://github.com/PeaceFounder/PeaceFounderClient/releases
[3]: https://github.com/PeaceFounder/PeaceFounderClient/blob/main...
[4]: https://github.com/PeaceFounder/PeaceFounderClient/blob/cf9d...
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#64What is the licensing story for Qt these days, my understanding is some portions are only available under commercial license or the GPL (vs. others also under the LGPL)? https://news.ycombinator.com/item?id=34291701
For 20 years people have been commenting that Qt doesn't have LGPL license. This has been false for the past 20 years but people feel the need to write it in a comment any time they read "qt" in a title.
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#65I'm favorably disposed to QML, but for it to actually replace Qt Widgets it'd have to provide: better out of the box desktop integration, a public C++ API and a better WYSIWYG UI designer.
I tried to write a basic serial console app using QtQuick some years ago but the functionality was just too anaemic. I don't really understand how you can write a serious GUI app with QtQuick/QML. If it's just very basic controls, sure. As soon as you need something slightly complicated it totally falls down in ways that QtWidgets don't.
Also the scoping rules of QML make no sense. Children can refer to parents which totally breaks encapsulation.
I love Qt, but QML is meh at best.
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#66Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#67I'm favorably disposed to QML, but for it to actually replace Qt Widgets it'd have to provide: better out of the box desktop integration, a public C++ API and a better WYSIWYG UI designer.
in which ways is the qml desktop integration lacking?
Sure that if you put the extra effort you can make QML look native, but it makes you wonder if desktop is in fact a goal for the framework.
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#68Earlier quoted context omitted.
I'm curious about julia as a gui language: mind sharing your code/project?
I have developed/prototyped a voting client with QML/Julia in PeaceFounderClient [1]. Few weeks ago I made bundling setup for it and have published bundles [2]. This may not scale well but I opted for bridging the backend with frontend in top scope with Bridge.qml [3] which on the Julia side is loaded with ‘loadqml’ using ‘QML.jl’ pacakge [4]. [1]: https://github.com/PeaceFounder/PeaceFounderClient/tree/main [2]: htt…
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#69Does anyone else think that QT is mostly overkill and HTML is good enough in most cases?
html doesn't have events that can be connected to actions. Doesn't resize decently, doesn't respect user's settings. And a browser is much much slower and bigger than a qt application.
About HTML+CSS, that’s just incorrect.
Go and try Tailwindcss and then tell me how bad HTML is at resizing.
Re: Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
#70Earlier quoted context omitted.
The point is if you start with a good foundational layer, then a community can build greater things on top of it. Of course, it will take time and if you're looking for a great library that can do everything out of the box, now , then you should pick Qt, there's no doubt about that.
But who'd contribute when qt is already there? Getting contributions is nearly impossible. Getting them for a not so useful vanity project is probably impossible.
Because it will be written in pure Rust (with all the memory-safety advantages that come with it).