Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Remove unnecessary qt libs in multi ABI release build



  • How can I remove unnecessary qt libs in multi ABI release build?(qt 5.14)
    (like: libplugins_imageformats_.so and libplugins_imageformats_.so)
    I just have these in my project:

    import QtQuick 2.12
    import QtQuick.Controls 2.5
    import QtQuick.Controls.Material 2.3
    

    and my libs is:
    Screenshot_20191226_231808.png
    Is it any of them unnecessary?



  • @addr3ss I had that question awhile back. The only way I could figure out how to do it was with Android Studio. After building with QtCreator, there will be an Android Studio project in your build directory in a folder called android-build (the one with the build.gradle file). Delete whichever libs you want from the libs folder, then build the project in Android Studio. You can remove unused Quick Controls styles and for others just use trial and error.

    Here's my previous question


Log in to reply