Results 1 to 5 of 5

Thread: Huge Qt directory under Windows Vista

  1. #1
    Join Date
    May 2009
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Huge Qt directory under Windows Vista

    Hi

    I just downloaded and installed Qt4.5.1 on my Vista system.
    After configure everything was build and I have had no problems developing Qt applications with MSVC2008 by means of the Qt offered plugin.
    The only problem is that the Qt directory is approx. 10 GB large; there are many tmp subdirectories.

    Any hind on this?

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Huge Qt directory under Windows Vista

    Hey, you build the entire Qt library (and presumably examples and demos), how could you expect the build files to be so small and so few that you wouldn't notice them?
    All the extra size comes from intermediate build files, often called "object files" which are at the last compilation stage linked together to form the executable and these files are not deleted after the build because the makefile system allow them to be reused for subsequent builds as long as the associated source files are not modified. To free space you just need to remove these files (you could just do a make clean if you made sure to backup the executables (EXEs, DLLs and LIBs) which would also get deleted in the process and you probably don't want that to happen).
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Huge Qt directory under Windows Vista

    My qt on Vista had 10G. Now with make clean qt has 5Gb

  4. #4
    Join Date
    May 2009
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Huge Qt directory under Windows Vista

    Thx for your response.

    I guessed that this step should reduce the size of the directory, but thought that this deletes also important dlls. Can I run configure with the -fast option to avoid building all the examples stuff?

  5. #5
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Huge Qt directory under Windows Vista

    The -fast option only affects makefile creation. Use the -nomake option (with proper parameter) to disable build of examples and/or demos. Cleaning object files (by hand or through make clean with proper backup) will still be needed to significantly reduce the size of your Qt dir since the libs are responsible for most of the intermediate files.
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. Qt4 and windows vista handwriting feature
    By Gnurou in forum Qt Programming
    Replies: 3
    Last Post: 2nd April 2009, 22:42
  2. Replies: 3
    Last Post: 4th September 2007, 14:40
  3. Ho to get the windows system directory with Qt4
    By rmagro in forum Qt Programming
    Replies: 4
    Last Post: 30th August 2007, 13:30
  4. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 22:33

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.