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. What’s the app size on mobile
Qt 6.11 is out! See what's new in the release blog

What’s the app size on mobile

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 1.2k Views 2 Watching
  • 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.
  • T Offline
    T Offline
    Tahar
    wrote on last edited by
    #1

    I remember 5 years ago when I tried a simple qml app on android the apk size was 25 MB and almost 100 mb after installing.

    I am wondering now if the size is reduced especially the installation size or it’s still the same?

    Qt/QML is a powerful framework but for mobile the size is huge

    sierdzioS 1 Reply Last reply
    0
    • T Tahar

      I remember 5 years ago when I tried a simple qml app on android the apk size was 25 MB and almost 100 mb after installing.

      I am wondering now if the size is reduced especially the installation size or it’s still the same?

      Qt/QML is a powerful framework but for mobile the size is huge

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

      @Tahar size would still be the same or very similar today.

      (Z(:^

      J T 2 Replies Last reply
      0
      • T Tahar has marked this topic as solved on
      • sierdzioS sierdzio

        @Tahar size would still be the same or very similar today.

        J Offline
        J Offline
        jessewallick
        wrote on last edited by
        #3

        Hello @sierdzio,

        The size of Qt/QML applications on mobile devices can vary depending on the complexity of the app and the assets included. However, there have been advancements in Qt, particularly with Qt 6.6, which focuses on scalability and efficiency. Best practices suggest using Qt Quick Controls and Qt Quick Layouts to design UIs that are scalable across different devices and screen configurations. This can help in optimizing the app size.

        While I couldn’t find specific current statistics on the average app size for Qt/QML on mobile, it’s reasonable to assume that with these improvements, there might be a reduction in the overall size of the applications compared to 5 years ago. Developers are encouraged to follow best practices, such as using QML Live Reload for testing and optimizing assets, to manage the application size effectively.

        sierdzioS 1 Reply Last reply
        0
        • J jessewallick

          Hello @sierdzio,

          The size of Qt/QML applications on mobile devices can vary depending on the complexity of the app and the assets included. However, there have been advancements in Qt, particularly with Qt 6.6, which focuses on scalability and efficiency. Best practices suggest using Qt Quick Controls and Qt Quick Layouts to design UIs that are scalable across different devices and screen configurations. This can help in optimizing the app size.

          While I couldn’t find specific current statistics on the average app size for Qt/QML on mobile, it’s reasonable to assume that with these improvements, there might be a reduction in the overall size of the applications compared to 5 years ago. Developers are encouraged to follow best practices, such as using QML Live Reload for testing and optimizing assets, to manage the application size effectively.

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

          @jessewallick I'm sorry but your reply does not really provide any data (neither does mine ;) ).

          it’s reasonable to assume

          No. Qt still has to ship with QtCore, QtGui, QtQuick, QtQml and all the other libraries - they make up the bulk of final APK data. I would not expect any changes in Controls and Layouts to make big changes.

          But in general it is pointless to argue about this. This is easy to check. Simply compile some Qt app for Android and see how much space it takes. I don't have my computer set up for Android right now so I won't do it, but perhaps somebody else here will.

          (Z(:^

          1 Reply Last reply
          0
          • sierdzioS sierdzio

            @Tahar size would still be the same or very similar today.

            T Offline
            T Offline
            Tahar
            wrote on last edited by
            #5

            @sierdzio
            Do you think a static build would result in a smaller apk and an installation size?

            sierdzioS 1 Reply Last reply
            0
            • T Tahar

              @sierdzio
              Do you think a static build would result in a smaller apk and an installation size?

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

              @Tahar it is likely, yes.

              (Z(:^

              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