Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Reducing the size of the deployed app

Reducing the size of the deployed app

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 1.2k 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
    Aron
    wrote on last edited by
    #1

    Hey I'm using Qt Widgets on the desktop and I found that when running windeployqt.exe it produces 50 MB of libraries, is there any way to shrink the size of it by discarding features you don't need?

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Windeployqt.exe does the good job. It means that it will copy required libraries. Alternatively you can try copying the required libraries on your own one-by-one and see if it helps.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      4
      • A Aron

        Hey I'm using Qt Widgets on the desktop and I found that when running windeployqt.exe it produces 50 MB of libraries, is there any way to shrink the size of it by discarding features you don't need?

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Aron Take a look at http://blog.qt.io/blog/2016/08/18/introducing-the-qt-lite-project-qt-for-any-platform-any-thing-any-size/
        Personally I would not care about 50MB.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        4
        • A Aron

          Hey I'm using Qt Widgets on the desktop and I found that when running windeployqt.exe it produces 50 MB of libraries, is there any way to shrink the size of it by discarding features you don't need?

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

          @Aron actually 50 mb seems about right, for the Core Qt-Libaries. Without stepping into QtLite territory I don't see how you could reduce the size significantly.

          On the plus side, without adding new Modules, the size will not change much if you expand your application, even if it is by a lot.


          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
          3

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved