Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › apk size

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19449

    Felgo User

    Hello, all.

    What minimum apk size?

    #19450

    Günther
    Felgo Team

    Hi

    Felgo and Qt package all libraries that *might* be needed as a dependency at runtime. If you’re sure that some modules are not required at all by your app, you can overwrite the included files with the ANDROID_DEPLOYMENT_DEPENDENCIES variable, as described here: http://doc.qt.io/qt-5/deployment-android.html#android-specific-qmake-variables and save some MBs in file size. There also come quite some examples up when googling for that variable.

    In case the APK size is a major issue for you and you can’t manage to accomplish it on your own:
    We offer to build a stripped-down version of the Felgo library to remove modules you might not need. This can also save a few MB depending on your use-case. We can create such custom builds with the purchase of a support package or the included support of the Felgo Enterprise plan.

    Best,
    Günther

    #19451

    Felgo User

    Primitive app “Hello World” – what size will be?

    #19457

    Günther
    Felgo Team
    #19503

    Felgo User

    Thanks!

    #19519

    Edward

    This is something I’ve often considered,

     

    Is there a way to estimate my apk size before building?

     

    Thanks!

    #19526

    Günther
    Felgo Team

    Hi,

    an estimation beforehand is really hard as many factors affect the APK size. For example, last years Qt World Summit app in Google Play is listed with 38 MB.It includes assets (images, …) that take up roughly 12 MB (uncompressed). Without any assets your app will probably use between 20 and 30 MB, depending on

    • the linked Qt Modules (as said above, a few MB can be saved by removing ones you do not require, this is possible with custom Felgo builds for Enterprise Customers)
    • linked 3rd party Frameworks, e.g. of the Felgo Plugins your app is using, or for custom features (like the QZXing Barcode Scanning library used in the Qt  World Summit demo)
    • amount/size of your source code (usually the smallest factor).

    Best,
    Günther

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded