Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deploy on mac with macdeploytq -app to big

Deploy on mac with macdeploytq -app to big

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 3.8k 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.
  • J Offline
    J Offline
    john_god
    wrote on last edited by
    #1

    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
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      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
      0
      • J Offline
        J Offline
        john_god
        wrote on last edited by
        #3

        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
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          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
          0
          • J Offline
            J Offline
            john_god
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • J Offline
              J Offline
              john_god
              wrote on last edited by
              #6

              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
              0

              • Login

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