Qt Quick vs Flutter
-
All people I know of who tried Flutter have said "it's great, but...".
It's great but what? I think that might be an important point about Flutter from the standpoints of those who have experienced it.
And one side question. Do you think if the situation carries on this way, Qt devs (those who use it for mobile and embedded devices) will change their direction in favor of Flutter?
-
@tomy said in Qt Quick vs Flutter:
All people I know of who tried Flutter have said "it's great, but...".
It's great but what? I think that might be an important point about Flutter from the standpoints of those who have experienced it.
Usually they mention some small quirks :P I don't remember anything specific. My point was that both Qt and Flutter have their problems as of now.
And one side question. Do you think if the situation carries on this way, Qt devs (those who use it for mobile and embedded devices) will change their direction in favor of Flutter?
It may happen. Qt Company seems to be totally uninterested in mobile platforms, development on this front is very slow. Flutter can easily and quickly overtake Qt, plus it has easier licensing. In company I work for we are considering switching to Flutter for mobile-only projects. But again, at this point, no actual decision was made.
-
@tomy said in Qt Quick vs Flutter:
and embedded apps!
I have not said that. The main focus of QtC is on embedded right now, it seems.
-
@KroMignon said in Qt Quick vs Flutter:
@tomy said in Qt Quick vs Flutter:
QtC?
I think QtC ==> Qt Company :)
Yes, I have meant Qt Company.
-
@tomy said in Qt Quick vs Flutter:
@LeLev
Felgo, unlike Qt open-source, gives you almost nothing freely. :(
They have to eat something ;-)
Plus, then it comes to mobiles, Qt on iOS is not free anyway (and using LGPL on Android is tricky, too).
-
for me the decision is clear: I'll use Qt for mobile
have developed some very complex apps for customers out there running on thousands of devices
always mobile biz apps, running in-house
all my apps developed with QtQuickControls2 (QQC2) are very performantmy subjective personal POV: comparing flutter UI code and QML Code --> QML Code is much easier to read.
I never studied C or C++, developed 10+ years with Java
then with BlackBerry 10 / Cascades first time had to deal with Qt-C++ and it is really easy to understand
as BlackBerry faded away some years ago I started with Qt and QQC2 - UI in QML, biz logic, network, ... in C++Material style looks good on Android and iOS - my apps are running from lowcost-Android up to iPad 12.9 pro, in many cases together with Bluetooth devices (Scanner, Printer, eCards, waiter lock, ...)
It toom a while to understand QtCreator coming from so many years using Eclipse IDE, but finally I must say QtCreator is great for x-platform mobile development
upcoming Qt 6 with reduced QML 3 will provide an even more performant environment (QML automatically by magic compiled to C++) and better content assist while hacking code. I'll port all my apps to Qt 6 / QML3 and start a new blog series about, probably also working on a book Qt6-for-mobile later this year)
so if starting new I would give Qt a try
-
Great info, @ekkescorner , as always! Thanks for chiming in.
in many cases together with Bluetooth devices (Scanner, Printer, eCards, waiter lock, ...)
Lucky you. My experience with BT support so far was really bad, but it wasn't fully Qt's fault. All OSes treat BT differently, have different bugs etc. Maintaining an app with BLE support on Windows, Android, iOS, macOS is a real nightmare.
-
@sierdzio yep - not so easy with BT on different platforms. have done this for Android and iOS. then a customer asks to support W10 tablets. I'm not a windows developer and managed it to work on W10, too. on macOS I've seen that some devices are working and others not. (Using macOS only while developing not in production)
I'm also doing BT Classic for Scanners and Printers on Android.
Luckily Qt provides this, too. Just implementing all the pieces. will blog later on this.Take a look at Flutter: different plugins for BLE and BT Classic from different developers. I really prefer to get this directly from Qt.
(yep - would be great to get more from Qt for mobile, but a big thanks for all the work on BT) -
QML Code is much easier to read.
So it's the important point you think Qt (for mobile) has compared to Flutter. I agree with that it has a great impact on app maintenance. I hope Qt company will pay more attention to mobile apps so that it has more words to say in this "mobilized" world against the bigger company backing Flutter, Google! :|
probably also working on a book Qt6-for-mobile later this year)
so if starting new I would give Qt a tryThat sounds awesome. Looking forward to seeing things from you. :)
If the person downloads the newest version of Qt, will he/she be able to use Qt 6 and QML 3 on it now, please?
-
@tomy said in Qt Quick vs Flutter:
So it's the important point you think Qt (for mobile) has compared to Flutter. I agree with that it has a great impact on app maintenance. I hope Qt company will pay more attention to mobile apps so that it has more words to say in this "mobilized" world against the bigger company backing Flutter, Google! :|
since Google/Alphabet stands behind flutter, chances are high that it will die/be unspported/ dropped in 1 - 2 years time, like 80% else made by google.
I'm joking, googles history speaks for itself.
If the person downloads the newest version of Qt, will he/she be able to use Qt 6 and QML 3 on it now, please?
Not as far as I know, maybe you can get a preview/alpha version once 5.15 is officially out.
-
@tomy the way from Qt 5 / QML2 to Qt 6 / QML3 will be a step-by-step process
Qt 6.0 is planned for Nov 2020 - I expect End of 2020 or first quarter 2021 ;-)
about Qt 6: https://www.qt.io/blog/2019/08/07/technical-vision-qt-6the process starts with Qt 5.15
many new things will be backported to 5.15
there will also be help from QtCreator to see what will be deprecated in Qt 6 / QML 3
hopefully this will work smootha first blog about new ways to go with QML in 5.15: https://www.qt.io/blog/qml-type-registration-in-qt-5.15
I'll try to follow this process and blog about and report issues to help Qt
have no idea how much work this will be and how easy / diffcult it will be to transform apps to Qt6 / QML3I have created some very complex apps and I know most of my own project rules won't work anymore
some years ago I started with Qt as a newbie - this was the time where first Betas of QtQuickControls2 came out.
I tried to use them, tested, blogged, requested features, added issues, ... - this was much work, but I got many of my issues/requests solved, so it was worth spending the time and motivates me to do the same with Qt6 QML3 for mobile apps -
@tomy I had a good experience with Qt for my first Android project, but I wouldn't use it again, primarily because of the licencing issue and I don't like the direction Qt is heading (all new modules are GPL instead of LGPL). And lately it seems the Qt Company doesn't care about mobile platforms.
When I started, there weren't many other cross-platform options. But now we have Flutter, React Native, and NativeScript, among others. I looked at Flutter and didn't like it. I don't like Dart and I don't like their UI markup. QML is the best UI markup language by far, IMO, and I will miss it.
Another consideration for me back then was that I needed OpenGL. I don't know if Flutter et al support 3D yet, so if I need 3D again I'll probably use a game engine like Godot.
But for my next 2D project I'm going to look at NativeScript. I guess now would be a good time to do that while I'm #SocialDistancing
-
@Tom_H you know that there will be a new startup / small biz offering coming for $499/year ?
-
@ekkescorner I did not know that. Good to know. I just got done reading the article you posted about Qt 6. Interesting read.