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. Why QtGuid4.dll has 338Mb?
Forum Updated to NodeBB v4.3 + New Features

Why QtGuid4.dll has 338Mb?

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 4.1k 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.
  • N Offline
    N Offline
    Nicolay
    wrote on last edited by
    #1

    I compile qt4.7.1 in windowsXP with mingw from http://sourceforge.net/projects/mingw/
    QtGuid4.dll size is 338mb!!! Why as many?

    I use this config:
    configure -debug-and-release -opensource -shared -no-ltcg -no-fast -no-accessibility -stl -no-qt3support -platform win32-g++ -mmx -3dnow -sse2

    Before it i compile with win32-msvc2008 and QtGuid4.dll was only 13.2mb.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      QtGuid4.dll is the debug version (spot the d before the 4!). Debug versions of libraries tend to be huge - it's perfectly ok.

      For the release version of your application, you need QtGui4.dll (no d before the 4!) which is much smaller.

      Also, different compilers produce different code. As far as I know, MSVS compilers put their debug information in separate files, whereas the gcc of MinGW might put it all together into one single file.

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

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nicolay
        wrote on last edited by
        #3

        But compiled qt4.7.1 from http://qt.nokia.com/downloads
        QtGuid4.dll only has 160mb. Why at me 388?

        In MSVS QtGuid4.dll 13.2mb and QtGuid4.lib 4.51mb QtGuid4.exp 2.7mb. ilk, pdb, can delete.

        160(388) instead 20mb. It very big.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          Hm, I have no experience with gcc in MinGW, so no idea here why there are these differences. Maybe some special settings in the build process or the like.

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

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Nicolay
            wrote on last edited by
            #5

            I take mingw from creator2.1 installation. It create debug dlls 2 times smaller than migw from http://sourceforge.net/projects/mingw/

            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