Search code examples
androidqtqmlv-play

V-Play generates too big APKs


I am new to V-Play. I just wanted to test it with Hello World app. My Single page app's Main.qml is 523 bytes only. But V-Play is building 20+ MB APK. Are Qt libraries that big?


Solution

  • This is the normal behavior; the thing is that the Qt libraries are not that small.

    For instance, if you develop a QtQuick application, you have at least QtGui, QtCore, QtQuick dependencies.

    If the size it's a problem for you, there is an alternative: use Ministro. Ministro is an Android service that provides Qt libraries, so different apps could share the main libraries.

    See Using Ministro to Install Qt Libraries for more information.