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. static compilation still big
Qt 6.11 is out! See what's new in the release blog

static compilation still big

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 4 Posters 1.5k Views 1 Watching
  • 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.
  • RIVOPICOR Offline
    RIVOPICOR Offline
    RIVOPICO
    wrote on last edited by
    #1

    hello i tried using upx to make more small but still the program is very big getting around 5 Mb.
    It's possible to make the programs more leight?

    JonBJ 1 Reply Last reply
    0
    • RIVOPICOR RIVOPICO

      hello i tried using upx to make more small but still the program is very big getting around 5 Mb.
      It's possible to make the programs more leight?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @RIVOPICO

      static compilation still big

      Static libraries compilation will always be bigger than dynamic, so your phrased question seems a bit odd?

      RIVOPICOR 1 Reply Last reply
      0
      • JonBJ JonB

        @RIVOPICO

        static compilation still big

        Static libraries compilation will always be bigger than dynamic, so your phrased question seems a bit odd?

        RIVOPICOR Offline
        RIVOPICOR Offline
        RIVOPICO
        wrote on last edited by RIVOPICO
        #3

        @JonB i was trying using upx but it's still weight.

        JonBJ 1 Reply Last reply
        0
        • RIVOPICOR RIVOPICO

          @JonB i was trying using upx but it's still weight.

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by
          #4

          @RIVOPICO
          Well it can only be bigger with static than dynamic, so just what size are you expecting? These days 5MB is not big....

          1 Reply Last reply
          2
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            If you already uses exe compression and static linking, its unlikely you can get it smaller.
            Why is the size so important ? 5 MB is fine even on phones.

            RIVOPICOR 1 Reply Last reply
            0
            • mrjjM mrjj

              Hi
              If you already uses exe compression and static linking, its unlikely you can get it smaller.
              Why is the size so important ? 5 MB is fine even on phones.

              RIVOPICOR Offline
              RIVOPICOR Offline
              RIVOPICO
              wrote on last edited by
              #6

              @mrjj i saw some people got better result's around 1 MB in my case the minimum size was 5MB. is just for make it more leight.

              mrjjM aha_1980A 2 Replies Last reply
              0
              • RIVOPICOR RIVOPICO

                @mrjj i saw some people got better result's around 1 MB in my case the minimum size was 5MB. is just for make it more leight.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @RIVOPICO
                hi. it really depends on what you actually used in Qt.
                So maybe those small project, only used Qt core and nothing more.

                1 Reply Last reply
                2
                • RIVOPICOR RIVOPICO

                  @mrjj i saw some people got better result's around 1 MB in my case the minimum size was 5MB. is just for make it more leight.

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @RIVOPICO if you really need it smaller then search fot 'Qt Lite' and expect to invest some time ...

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  2
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Hi
                    http://blog.qt.io/blog/2016/08/18/introducing-the-qt-lite-project-qt-for-any-platform-any-thing-any-size/
                    But not sure its worth the time needed versus the size reduction :)

                    1 Reply Last reply
                    2

                    • Login

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