Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Upgrading QML application from Qt 5.12 to Qt 5.15 increases the size of app
QtWS25 Last Chance

Upgrading QML application from Qt 5.12 to Qt 5.15 increases the size of app

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 414 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.
  • A Offline
    A Offline
    Anil8753
    wrote on last edited by
    #1

    I have a very small QML application (actual executable size is 400 KB). For deployment, I am using macdeployqt tool and gives me the final app.
    Upgrading QML application from Qt 5.12 to Qt 5.15 increases the size of the app.
    Here is the data:
    Qt5.15
    Frameworks 34.9 MB
    Plugins 12.5 MB
    Resources 66.2 MB

    Qt5.12
    Frameworks 30 MB
    Plugins 8.6 MB
    Resources 3.4 MB

    I found inside the Resources folder QtQuick (54.1 MB) is the main cause. Can someone please share the information how can I avoid this issue.
    I am using Qt prebuilt libraries.

    J.HilkJ 1 Reply Last reply
    0
    • A Anil8753

      I have a very small QML application (actual executable size is 400 KB). For deployment, I am using macdeployqt tool and gives me the final app.
      Upgrading QML application from Qt 5.12 to Qt 5.15 increases the size of the app.
      Here is the data:
      Qt5.15
      Frameworks 34.9 MB
      Plugins 12.5 MB
      Resources 66.2 MB

      Qt5.12
      Frameworks 30 MB
      Plugins 8.6 MB
      Resources 3.4 MB

      I found inside the Resources folder QtQuick (54.1 MB) is the main cause. Can someone please share the information how can I avoid this issue.
      I am using Qt prebuilt libraries.

      J.HilkJ Online
      J.HilkJ Online
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Anil8753 generally speaking the deployment tool is generous and grabs more than it probably needs to.

      you can go inside the folder and manually delete stuff , plugins you don't need, Qml templates no-one uses etc.

      That can free up lots of space.

      But, I'm not aware of an automated tool that would do it for you 🤷‍♂️


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • fcarneyF Offline
        fcarneyF Offline
        fcarney
        wrote on last edited by
        #3

        This is really interesting. I have a windows app I maintain that is currently around 50MB compressed when deployed to an installer. I have tried trimming it down by removing specific things. I am currently using 5.12. So knowing that it will balloon when going to 5.15 is useful information. I already get complaints that people cannot just email the app.

        You might be able to trim things down by playing with settings in the macdeployqt. Like if you are not using the virtual keyboard then set the option to exclude that. That option was not available in 5.12, but is in 5.15. There may be more options as well.

        Thank you for posting this.

        C++ is a perfectly valid school of magic.

        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