Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Quick vs Flutter
QtWS25 Last Chance

Qt Quick vs Flutter

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
38 Posts 11 Posters 21.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S sierdzio
    12 Mar 2020, 11:44

    @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.

    T Offline
    T Offline
    tomy
    wrote on 12 Mar 2020, 14:59 last edited by
    #9

    @sierdzio

    QtC? It's the first time I hear that. Do you mean using the C language (instead of C++) with Qt to create apps for embedded devices?

    K 1 Reply Last reply 12 Mar 2020, 15:32
    0
    • T tomy
      12 Mar 2020, 14:59

      @sierdzio

      QtC? It's the first time I hear that. Do you mean using the C language (instead of C++) with Qt to create apps for embedded devices?

      K Offline
      K Offline
      KroMignon
      wrote on 12 Mar 2020, 15:32 last edited by
      #10

      @tomy said in Qt Quick vs Flutter:

      QtC?

      I think QtC ==> Qt Company :)

      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

      S 1 Reply Last reply 12 Mar 2020, 19:40
      3
      • T Offline
        T Offline
        tomy
        wrote on 12 Mar 2020, 19:12 last edited by tomy 3 Dec 2020, 19:13
        #11

        Thank you all.
        So to sum up we can say that:
        For desktop apps: Qt
        For mobile apps: Flutter
        For embedded programming: C & C++ (used in QtQuick for instance)

        are best choices for now to pick up.
        Anyone disagree, please?

        O 1 Reply Last reply 12 Mar 2020, 19:17
        0
        • T tomy
          12 Mar 2020, 19:12

          Thank you all.
          So to sum up we can say that:
          For desktop apps: Qt
          For mobile apps: Flutter
          For embedded programming: C & C++ (used in QtQuick for instance)

          are best choices for now to pick up.
          Anyone disagree, please?

          O Offline
          O Offline
          ODБOï
          wrote on 12 Mar 2020, 19:17 last edited by ODБOï 3 Dec 2020, 19:20
          #12

          @tomy said in Qt Quick vs Flutter:

          For mobile apps:Flutter

          i would go with Felgo

          T 1 Reply Last reply 12 Mar 2020, 22:05
          0
          • K KroMignon
            12 Mar 2020, 15:32

            @tomy said in Qt Quick vs Flutter:

            QtC?

            I think QtC ==> Qt Company :)

            S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 12 Mar 2020, 19:40 last edited by
            #13

            @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.

            (Z(:^

            1 Reply Last reply
            0
            • O ODБOï
              12 Mar 2020, 19:17

              @tomy said in Qt Quick vs Flutter:

              For mobile apps:Flutter

              i would go with Felgo

              T Offline
              T Offline
              tomy
              wrote on 12 Mar 2020, 22:05 last edited by
              #14

              @LeLev

              Felgo, unlike Qt open-source, gives you almost nothing freely. :(

              S 1 Reply Last reply 13 Mar 2020, 06:01
              0
              • T tomy
                12 Mar 2020, 22:05

                @LeLev

                Felgo, unlike Qt open-source, gives you almost nothing freely. :(

                S Offline
                S Offline
                sierdzio
                Moderators
                wrote on 13 Mar 2020, 06:01 last edited by
                #15

                @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).

                (Z(:^

                1 Reply Last reply
                3
                • E Offline
                  E Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on 17 Mar 2020, 14:24 last edited by
                  #16

                  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 performant

                  my 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

                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                  5.15 --> 6.8 https://t1p.de/ekkeChecklist
                  QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                  T 1 Reply Last reply 20 Mar 2020, 09:35
                  8
                  • S Offline
                    S Offline
                    sierdzio
                    Moderators
                    wrote on 18 Mar 2020, 05:36 last edited by
                    #17

                    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.

                    (Z(:^

                    E 1 Reply Last reply 18 Mar 2020, 07:13
                    0
                    • S sierdzio
                      18 Mar 2020, 05:36

                      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.

                      E Offline
                      E Offline
                      ekkescorner
                      Qt Champions 2016
                      wrote on 18 Mar 2020, 07:13 last edited by
                      #18

                      @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)

                      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                      5.15 --> 6.8 https://t1p.de/ekkeChecklist
                      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                      1 Reply Last reply
                      1
                      • E ekkescorner
                        17 Mar 2020, 14:24

                        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 performant

                        my 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

                        T Offline
                        T Offline
                        tomy
                        wrote on 20 Mar 2020, 09:35 last edited by
                        #19

                        @ekkescorner

                        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 try

                        That 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?

                        J E 2 Replies Last reply 20 Mar 2020, 09:43
                        0
                        • T tomy
                          20 Mar 2020, 09:35

                          @ekkescorner

                          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 try

                          That 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?

                          J Offline
                          J Offline
                          J.Hilk
                          Moderators
                          wrote on 20 Mar 2020, 09:43 last edited by
                          #20

                          @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.


                          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                          Q: What's that?
                          A: It's blue light.
                          Q: What does it do?
                          A: It turns blue.

                          1 Reply Last reply
                          1
                          • T tomy
                            20 Mar 2020, 09:35

                            @ekkescorner

                            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 try

                            That 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?

                            E Offline
                            E Offline
                            ekkescorner
                            Qt Champions 2016
                            wrote on 20 Mar 2020, 09:51 last edited by
                            #21

                            @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-6

                            the 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 smooth

                            a 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 / QML3

                            I 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

                            ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                            5.15 --> 6.8 https://t1p.de/ekkeChecklist
                            QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                            1 Reply Last reply
                            6
                            • T tomy
                              11 Mar 2020, 21:37

                              Hello all,

                              Why do you think Qt Quick is better than Flutter for Android and iOS apps? What are the advantages and disadvantages of Qt Quick over Flutter for that area, please? How about apps for embedded devices by the two?

                              I did a research on the Web for the case but couldn't find a comprehensive and good answer.

                              Thanks beforehand.

                              T Offline
                              T Offline
                              Tom_H
                              wrote on 23 Mar 2020, 19:43 last edited by
                              #22

                              @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

                              E 1 Reply Last reply 23 Mar 2020, 20:25
                              0
                              • T Tom_H
                                23 Mar 2020, 19:43

                                @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

                                E Offline
                                E Offline
                                ekkescorner
                                Qt Champions 2016
                                wrote on 23 Mar 2020, 20:25 last edited by
                                #23

                                @Tom_H you know that there will be a new startup / small biz offering coming for $499/year ?

                                ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                                5.15 --> 6.8 https://t1p.de/ekkeChecklist
                                QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                                T 1 Reply Last reply 23 Mar 2020, 21:12
                                1
                                • E ekkescorner
                                  23 Mar 2020, 20:25

                                  @Tom_H you know that there will be a new startup / small biz offering coming for $499/year ?

                                  T Offline
                                  T Offline
                                  Tom_H
                                  wrote on 23 Mar 2020, 21:12 last edited by
                                  #24

                                  @ekkescorner I did not know that. Good to know. I just got done reading the article you posted about Qt 6. Interesting read.

                                  1 Reply Last reply
                                  0
                                  • B Offline
                                    B Offline
                                    bogong
                                    wrote on 24 Mar 2020, 11:37 last edited by bogong
                                    #25

                                    I've been working with Flatter/Dart and this is explanation of my experience:

                                    1. Flatter is not the solution itself. It's only framework on Dart.

                                    2. The Dart VM - is SUPER slow. Here the benchmark https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/dart-java.html There are fundamental issue in threads. The manner of threads - the reason of why it's so slow. There are not about percents, there are about times.

                                    3. Extremely difficult in reality to add something native. You should be creating extensions to Dart VM on C++ In case of very restricted functionality for now - it's might be HUGE problem. (One question - if you need to add something on C++ to Dart, why Dart?) For now I would say - no any cross-platform 100% covering native. For me extremely important to be able to add native without troubles. Dart - is nothing about "without trouble".

                                    4. SUPER poor community, a lot of noobs that will be copy-pasting official doc. Sometimes to find solution beside standard reference almost impossible or will get HUGE amount of time.

                                    My own opinion: if you going to develop something very simple - Dart - might be solution, it's fast in developing and "idiot friendly" (BTW - if you look carefully on Dart itself, you might be seeing total paradigm compatibility to QML). The advantage of Flatter/Dart - very good implementation to Google services, it's in box from begin. If you going to develop something that require a little more then just getting JSON from server - definitely NO Dart at all. The promo of being "super fast UI" - is only if you using their precompiled UI components. In other case - super slow.

                                    All of it my own experience of developing cross-platform applications. I've started cross-platform before mobile development based on Chromium Embedded https://en.wikipedia.org/wiki/Chromium_Embedded_Framework in 2012. We've been developing application based on WebUI for Windows and Linux. After it iOS native developing since iPhone 4, and now only Qt and sometimes native.

                                    1 Reply Last reply
                                    5
                                    • T Offline
                                      T Offline
                                      tomy
                                      wrote on 24 Mar 2020, 15:20 last edited by
                                      #26

                                      Thanks all,

                                      So to sum up, still QtQuick is better for mobile apps and the real winner. :)

                                      E 1 Reply Last reply 26 Mar 2020, 17:04
                                      0
                                      • T tomy
                                        24 Mar 2020, 15:20

                                        Thanks all,

                                        So to sum up, still QtQuick is better for mobile apps and the real winner. :)

                                        E Offline
                                        E Offline
                                        ekkescorner
                                        Qt Champions 2016
                                        wrote on 26 Mar 2020, 17:04 last edited by JKSH
                                        #27

                                        @tomy the new 'Small Business License' will help to make the right decision: https://www.qt.io/blog/available-now-qt-for-small-businesses
                                        now up to 250K $ revenue - only 499$ p.a. -- embedded, mobile, desktop -- up to 4 devs

                                        ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                                        5.15 --> 6.8 https://t1p.de/ekkeChecklist
                                        QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                                        1 Reply Last reply
                                        3
                                        • edipE Offline
                                          edipE Offline
                                          edip
                                          wrote on 31 Mar 2020, 10:38 last edited by edip
                                          #28

                                          I use Qt for Android on Play Store. I usually use JavaScript to develop QML apps. I had to search for an alternative for these reasons;

                                          • The most important reason, app size is too much. Hello World QML app takes more than 40 MB on Android, APK size is 13 MB+. Qt copies all QML modules to APK's assets folder and it also copies some unused libraries to libs folder. This increases APK size.
                                          • Basic things like updating, editing, saving a dynamic list model in QML-JS are tedious for me.
                                          • Learning c++ with Qt takes time :)
                                          • There is not officially mobile advertising platform support (I use an open source project for Qt and Admob)
                                          • QML development is too slow. QML 1.0 made Nokia N9's (2011) component seems more advanced than QQC2 Material component
                                          • License for commercial is very expensive for me.

                                          I try to learn Flutter with an Udemy course. Flutter has more native looking interface compared to React Native and Native Script. Flutter has less app size compared to QML apps. It can also be developed for Web. Qt's Web Assembly is too slow compared to Flutter Web. Its license is more free than Qt so I can have commercial apps. I think Dart libraries will increase in the near future.
                                          Qt supports c++ and many Javascript libraries. This makes it easy to develop complex apps with Qt. I will continue to develop my complex projects with Qt. I have simple QML apps that are almost 90MB on Play Store. I think to convert them to Flutter in order to reduce app size. I think to use Flutter for simple apps for now.

                                          T T 2 Replies Last reply 31 Mar 2020, 11:27
                                          1

                                          18/38

                                          18 Mar 2020, 07:13

                                          • Login

                                          • Login or register to search.
                                          18 out of 38
                                          • First post
                                            18/38
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved