Qt Forum

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

    Call for Presentations - Qt World Summit

    Deploy on mac with macdeploytq -app to big

    Installation and Deployment
    2
    6
    3434
    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.
    • J
      john_god last edited by

      I'm tring to deploy with the macdeployqt tool, but the app increased from 850K to 40Mb.
      To reduce the size I'm tring to rebuild Qt in release mode. The docs say to do a
      make confclean and them configure. But with make confclean I get errors

      @"make: *** No rule to make target `confclean'. Stop."@

      I'm running it from what I believe to be the build directory: /Developer/Tools/Qt.
      Also I also can't find ./configure I get a error

      @-bash: ./configure: No such file or directory@

      Any ideias to solve this? Thanks

      1 Reply Last reply Reply Quote 0
      • G
        goetz last edited by

        40 MB is ok for the needed libs. QtGui alone is 23 MB. You may strip the libs, that reduces the size of QtGui from 23 to 20 MB. With all the other libs you easily get 40 MB in total.

        BTW: keep in mind, that, depending on the platform etc., at least 2 or 3 versions of the lib are in the file (ppc 32bit, x86 32bit, x86 64bit). That blows up the file size on the mac for the universal binaries.

        http://www.catb.org/~esr/faqs/smart-questions.html

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

          Thanks for your replay. Striping the library, by what you say should not make a big difference. But I've seen gui apps in mac with 15Mb. I wonder how they did it, Is there any other way to reduce the size ?

          1 Reply Last reply Reply Quote 0
          • G
            goetz last edited by

            I doubt that they were built using the Qt framework, but rather the specific libs available on a mac only (Carbon/Cocoa etc.)

            http://www.catb.org/~esr/faqs/smart-questions.html

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

              I'm pretty sure it was Qt framework, but I will try to check with the autor

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

                Forget my last post, with was a app made with Qt, but the 15Mb was the size of the dmg, the app was about 40Mb. My mistake.

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