Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Cutting down app size

    General and Desktop
    3
    3
    1302
    Loading More Posts
    • 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.
    • O
      ommz last edited by

      I have compiled my app and included the required dlls in the app folder. Without the Qt dlls the app wont function and they make the folder heavy by over 200mb. Is there any way i can cut down the size...something like an obfuscator like Proguard in java to shed off unused funtions in the libraries?

      1 Reply Last reply Reply Quote 0
      • D
        DerManu last edited by

        200 MiB of shared libs? What libraries do you include? Are they compiled in debug mode? On GNU/Linux systems you could just use
        @strip [yourobject]@
        to probably make it a good deal smaller. I don't know if something like this exists for windows (try mingw/cygwin).

        1 Reply Last reply Reply Quote 0
        • J
          john_god last edited by

          200 Mb seems like a lot. You probably are using debug mode ? Any way you can try upx ro reduce your files size.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post