Earlier quoted context omitted.
I mean, the second one makes sense to me. Medical loves QT, and I can see them wanting easier integration of visual recognition models (think "detects breast cancer on an MRI" models) with the GUI. I could totally see wanting to really easily plug and unplug different models and overlaying their results, bringing you full circle to the GUI. Basically easier integration with complex heavily multipass GPGPU visual resu…
Can you explain what you mean? Normally you just send in the pic to Tensorflow that then uses the gpu, where would QT enter the picture that would be more than two lines of code?
Technical Vision for Qt 6
91–100 of 184 posts
Re: Technical Vision for Qt 6
#92What Qt needs is more Electron. Please show me one major new desktop application written today which uses Qt. Major meaning used by millions of people.
Re: Technical Vision for Qt 6
#93Earlier quoted context omitted.
Cool, so you have worked with both, right?
Most people have used lots of Qt apps and lots of Electron apps, which is enough to get an impression of the general performance characteristics of each.
Re: Technical Vision for Qt 6
#94Earlier quoted context omitted.
Popular doesn't mean good. In fact Electron is born out of the idea that developer productivity and comfort is everything and performance is a secondary concern. These apps seem to be popular with device manufacturers. I have the displeasure of using two such apps, both have crap usability and custom UIs that don't make any effort to integrate with the platform. One of them doesn't even respond to the quit shortcut.
> These apps seem to be popular with device manufacturers. All apps written by device manufacturers are crap, regardless of what they are written in. It has nothing to do with Electron, just with the fact that they only know how to do hardware, and are clueless on the software side.
It's modern looking, but obviously not native and doesn't respect some platform idioms or shortcuts, so all in all it's a subpar experience. This is completely related to Electron and would not happen for a native app, where the framework takes care of the look & feel and integration.
If every app were written like this, we'd end up with scores of slightly inconsistent apps, all of them trying to be unique and cool and resulting in a mediocre platform. i.e. Windows.
Re: Technical Vision for Qt 6
#95What Qt needs is more Electron. Please show me one major new desktop application written today which uses Qt. Major meaning used by millions of people.
Re: Technical Vision for Qt 6
#96Earlier quoted context omitted.
I would love this! In fact the QML format would not even be a terrible way to write non-UI applications, I'd think. Something like MySqlDataBase { id: default_db host: ... } UserController { items_per_page: 20 formatter: UserFormatter {} repository: Repository { table: "users" database: default_db } } is definitely more easier to follow than the linear version auto default_db = std::make_shared ("..."); auto userform…
It doesn't look as bad if you skip the intermediate variable declarations, since you're not re-using those variables elsewhere. (the QML structure only works as long as this is the case, e.g clear nesting of instances)
You can have references (default_db in the example) to instances to have indirectly nested instances too.
Re: Technical Vision for Qt 6
#97I hope they fix QtDesigner to not be hot garbage. Elementary operations such as trying to move some controls to a container that has zero size is totally unintuitive (you need to alt+drag to the container in the widget tree view - note that nothing else needs that) and not always possible (the widget tree view doesn't scroll so if the container is out of view you can't move stuff there - the fact that selecting somet…
Is there a reason Qt Designer generates .cpp files which append a child to the parent after the child is fully fleshed out, rather than when the child is first constructed? Does the latter approach create too many relayouts, or did it do that in the past? I tried to replicate that design quirk in my code, and had to use RAII to "add child to parent at end of scope", even though I don't want the destructors to run if an exception occurs during UI layout.
Re: Technical Vision for Qt 6
#98Earlier quoted context omitted.
Telling us that automotive interfaces run Qt is the most scathing comment on Qt that you could possibly have written.
Tesla is using Qt, that's not a bad ui imho. Not sure what my Toyota is running but the base system is QNX and Qt runs on that system too. The touch screen and cpu is crap though not necessarily the ui.
Re: Technical Vision for Qt 6
#99Earlier quoted context omitted.
I believe you're incorrect, C++ is a good language for building UIs, as proven by the plethora of UI libraries and frameworks built in C++ for pretty much all platforms. This is visible when comparing PyQt and C++: yes, PyQt is easier to get into, has nicer syntax, but C++ offers more power. Even hot-loading UIs, a typical scripting language advantage is supported. Declarative UI languages do have some advantages com…
They have the graphics layer written in C++, but get used from managed languages. QML, Swift, Android, UWP, WPF, Forms, Blueprints, Unity, React Native.
QML is way faster to develop in than C++. And it hides a lot of signal/slot boilerplate that doesn't matter. And I can still write C++ classes that interface with QML when I want.