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 Widgets for Mobile development. Is it OK?

Qt Widgets for Mobile development. Is it OK?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 3 Posters 1.5k 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    Hello all!
    I am researching ability to develop mobile application on pure Qt/C++ without QML. Is it OK to develop on Qt Widgets for mobile? What is advantage or disadvantage of this approach in developing? All that I found about this topic a little outdated +2-4 years old, since this post Qt moved forward a lot. I need information about current state in case of developing on Qt Widgets for mobile.

    jsulmJ sierdzioS 2 Replies Last reply
    0
    • B bogong

      Hello all!
      I am researching ability to develop mobile application on pure Qt/C++ without QML. Is it OK to develop on Qt Widgets for mobile? What is advantage or disadvantage of this approach in developing? All that I found about this topic a little outdated +2-4 years old, since this post Qt moved forward a lot. I need information about current state in case of developing on Qt Widgets for mobile.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @bogong QML is better suited for mobile. It is more flexible and uses graphics acceleration (QWidgets are rendered on CPU).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply
      3
      • B bogong

        Hello all!
        I am researching ability to develop mobile application on pure Qt/C++ without QML. Is it OK to develop on Qt Widgets for mobile? What is advantage or disadvantage of this approach in developing? All that I found about this topic a little outdated +2-4 years old, since this post Qt moved forward a lot. I need information about current state in case of developing on Qt Widgets for mobile.

        sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        @bogong said in Qt Widgets for Mobile development. Is it OK?:

        Is it OK to develop on Qt Widgets for mobile?

        Yes. Widgets work on mobile platforms.

        What is advantage or disadvantage of this approach in developing?

        Advantages:

        • all QtWidgets advantages in general: a complete set of widgets (with table view, tree view etc.), everything is compiled and optimized, no JS engine overhead, no QML engine overhead, no need to include anything via QRC

        Disadvantages:

        • widgets look horrible on mobile platforms
        • making fluid, animated UIs is much harder in widgets
        • mobiles are less tested with widgets, so potentially there can be more bugs

        All that I found about this topic a little outdated +2-4 years old, since this post Qt moved forward a lot. I need information about current state in case of developing on Qt Widgets for mobile.

        Qt has indeed, but QtWidgets have not developed a lot in that time, so the information you have seen is probably still valid.

        (Z(:^

        B 1 Reply Last reply
        4
        • jsulmJ jsulm

          @bogong QML is better suited for mobile. It is more flexible and uses graphics acceleration (QWidgets are rendered on CPU).

          B Offline
          B Offline
          bogong
          wrote on last edited by
          #4

          @jsulm thx a lot
          @sierdzio thx a lot

          1 Reply Last reply
          0
          • sierdzioS sierdzio

            @bogong said in Qt Widgets for Mobile development. Is it OK?:

            Is it OK to develop on Qt Widgets for mobile?

            Yes. Widgets work on mobile platforms.

            What is advantage or disadvantage of this approach in developing?

            Advantages:

            • all QtWidgets advantages in general: a complete set of widgets (with table view, tree view etc.), everything is compiled and optimized, no JS engine overhead, no QML engine overhead, no need to include anything via QRC

            Disadvantages:

            • widgets look horrible on mobile platforms
            • making fluid, animated UIs is much harder in widgets
            • mobiles are less tested with widgets, so potentially there can be more bugs

            All that I found about this topic a little outdated +2-4 years old, since this post Qt moved forward a lot. I need information about current state in case of developing on Qt Widgets for mobile.

            Qt has indeed, but QtWidgets have not developed a lot in that time, so the information you have seen is probably still valid.

            B Offline
            B Offline
            bogong
            wrote on last edited by
            #5

            @sierdzio All that I got from experience of developing on Qt - it's really better to follow latest LTS release. In other way might be not so simple to develop.

            sierdzioS 1 Reply Last reply
            0
            • B bogong

              @sierdzio All that I got from experience of developing on Qt - it's really better to follow latest LTS release. In other way might be not so simple to develop.

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @bogong said in Qt Widgets for Mobile development. Is it OK?:

              @sierdzio All that I got from experience of developing on Qt - it's really better to follow latest LTS release. In other way might be not so simple to develop.

              Indeed. And even with LTS, the usual rule of "don't use .0 releases" (like 5.12.0, 5.13.0) still holds. Initial releases tend to be very buggy.

              (Z(:^

              B 1 Reply Last reply
              2
              • sierdzioS sierdzio

                @bogong said in Qt Widgets for Mobile development. Is it OK?:

                @sierdzio All that I got from experience of developing on Qt - it's really better to follow latest LTS release. In other way might be not so simple to develop.

                Indeed. And even with LTS, the usual rule of "don't use .0 releases" (like 5.12.0, 5.13.0) still holds. Initial releases tend to be very buggy.

                B Offline
                B Offline
                bogong
                wrote on last edited by bogong
                #7

                @sierdzio Oh-yeeees! All that I might say about Qt Developing we are always turning "bad" into "good" and "bugs" into "features" :-)))))

                1 Reply Last reply
                0

                • Login

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