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. [SOLVED] Qt applications on Windows
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt applications on Windows

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 3.0k 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.
  • S Offline
    S Offline
    soroush
    wrote on 9 Jun 2011, 16:08 last edited by
    #1

    Hi all

    I recently asked "this":http://developer.qt.nokia.com/forums/viewthread/6633/ question about building installers for Qt applications for windows. I used Dependency Walker to denote which dlls are needed. they were QtCore4.dll QtGui.dll migw10.dll and some others. Totally 7 libraries. I copy them from <Qt SDK dir>/Desktop/Qt/4.7.3/mingw/lib/ and ../mingw/bin to my release directory. total size became 159 MB! I think it's a little HUGE for my very small tool.

    Am I doing something wrong? Probably copying wrong dlls (debugging modules) or something else?

    I tried InnoSetup creator it compressed whole thing into a 24 MiB executable but it's still very big for small my application.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on 9 Jun 2011, 16:15 last edited by
      #2

      [Moved this thread, it's more deployment issue]

      That's way too big. All Qt libs together (really every DLL) are about 53 MB on MinGW.

      That big number looks like you are having debug versions of the DLLs in your list.

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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on 9 Jun 2011, 16:21 last edited by
        #3

        This seem to be really quite something. I have just summed up the space required for all Qt 4.7.2 dlls. The complete space is about 118 MB including release and debug dlls for windows. The size of the libs named by you are QtGui4 (8.6 MB) and QtCore4 (2.4 MB). They are less than half of the size of debug versions. The mingw libs I cannot check.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          soroush
          wrote on 9 Jun 2011, 17:13 last edited by
          #4

          So where are correct dlls?

          Edit: I found them. now It's 12 MiB :-)

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on 9 Jun 2011, 17:21 last edited by
            #5

            Unfortunately, I have an MSVC installation (on Windows). So I do not know the differentiation for MinGW. For my MSVC the naming convention is Qtd4.dll for debug dlls and Qt4.dll for release dlls. I would assume that also for MinGW you should be able to distinguish somehow.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0

            1/5

            9 Jun 2011, 16:08

            • Login

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