Results 1 to 13 of 13

Thread: MSVC 2010 Binary for Qt

  1. #1
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default MSVC 2010 Binary for Qt

    There is a 2008 binary but not for 2010. I can't compile Qt myself because I don't have the 50-60 GB required space. Is there an official announcement as to whether the 2010 binary will be released? And if so when might this be?

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: MSVC 2010 Binary for Qt

    Why 50-60 GB?

    The compiled* "stuff" is ~4.5 GB on my machines, and only ~1.5GB remains after clean-up**, i'm pretty sure that it doesn't need that much space.

    *build the Qt source code with default configure, then build the framework (nmake sub-src) and then the tools (nmake sub-tools)
    **nmake clean after the build is finished.

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: MSVC 2010 Binary for Qt

    Qt doesn't support vs2010 coz that compiler has some nasty bugs which fails to compile qt. At least that was the last information i got.

    EDIT:-
    actually it compiles, but qt crashes at runtime.

  4. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: MSVC 2010 Binary for Qt

    @Nish: i didn't had any crash, well i'm not saying that there are no bugs, there might be some hidden subtle ones, but most of the run-time crashes i saw including on this board where caused by the usage of dll's built with VS2008 (people often think that different versions of VS are binary compatible, there are not)

  5. #5
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: MSVC 2010 Binary for Qt

    this is the bug http://bugreports.qt.nokia.com/browse/QTBUG-11445

    its closed becoz its an MS bug, not Qt bug.

  6. #6
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MSVC 2010 Binary for Qt

    Quote Originally Posted by Zlatomir View Post
    Why 50-60 GB?

    The compiled* "stuff" is ~4.5 GB on my machines, and only ~1.5GB remains after clean-up**, i'm pretty sure that it doesn't need that much space.

    *build the Qt source code with default configure, then build the framework (nmake sub-src) and then the tools (nmake sub-tools)
    **nmake clean after the build is finished.
    It says here http://stackoverflow.com/questions/4...ze-of-qt-build that it takes 50-60 GB and I read in various other places that it takes like 10 hours to compile. I think I stopped compilation after 3 or 4 hours and it was already taking like 6 GB.

    Are you sure it only takes 4.5 GB?

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MSVC 2010 Binary for Qt

    I have several different versions of Qt installed and the directory size is only 10GB, so ~5GB per version sounds about right.

  8. #8
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MSVC 2010 Binary for Qt

    Quote Originally Posted by squidge View Post
    I have several different versions of Qt installed and the directory size is only 10GB, so ~5GB per version sounds about right.
    The final installation might take only 5 GB but how much space does compilation need for temporary files and such?

  9. #9
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: MSVC 2010 Binary for Qt

    I didn't check about temporary file during the installation/compilation, but i had about 15GB free on my laptop C: drive (with sources at C:\qt-src-4.7.2) and it didn't complained about disk space.
    Note that i did build only sub-src and sub-tools

    @squidge: if you run nmake clean after the build is over it will clean the temporary files and save space, or is this operation not recommended? I have done that and i didn't had any issues.

    @Nish: That bug refers to the 64bit Qt build (so if you build 32bit Qt framework and 32 Qt applications that doesn't affect you)
    And yes that was a known bug in VS 2010 structures alignment when target x64 applications and use /O2 optimization and have bigger than 64bit structures (if i remember correctly) but it has been fixed (link)

  10. #10
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MSVC 2010 Binary for Qt

    It's only not recommended if you intend to make changes to the Qt source files. If you reconfigure you want to ensure its clean first, and for normal use, the object code is not much use so it can be cleaned then too.

    After cleaning, the directory sizes drop down to 1.1GB each.

  11. #11
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MSVC 2010 Binary for Qt

    Quote Originally Posted by Zlatomir View Post
    I didn't check about temporary file during the installation/compilation, but i had about 15GB free on my laptop C: drive (with sources at C:\qt-src-4.7.2) and it didn't complained about disk space.
    Note that i did build only sub-src and sub-tools

    @squidge: if you run nmake clean after the build is over it will clean the temporary files and save space, or is this operation not recommended? I have done that and i didn't had any issues.

    @Nish: That bug refers to the 64bit Qt build (so if you build 32bit Qt framework and 32 Qt applications that doesn't affect you)
    And yes that was a known bug in VS 2010 structures alignment when target x64 applications and use /O2 optimization and have bigger than 64bit structures (if i remember correctly) but it has been fixed (link)

    Ok thanks. From the extras I only need Phonon and XML, could you please tell me what commands I would have to use or the two you listed would work. I also don't need designer for example since I don't use it but I do need the translation tool, can I exclude that? Do you remember how long it took? If I add Phonon and XML do you know if it will take much more than 15 GB?

  12. #12
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: MSVC 2010 Binary for Qt

    Looks like Phonon and XML libraries are build by default.
    //i didn't used Phonon, but i have phonon4.dll and phonond4.dll in the qt\bin folder.

    It took about 3 hours to build

  13. #13
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MSVC 2010 Binary for Qt

    Quote Originally Posted by pssss View Post
    Do you remember how long it took? If I add Phonon and XML do you know if it will take much more than 15 GB?
    The time is based on your system, mostly CPU and RAM performance. It can take anything from 2 - 3 hours to 15+ hours.

    All we can really say is try it and see. If it runs out of space its not going to trash anything, just clean, free more space and try again.

Similar Threads

  1. Qt 4.7.0 source compilation errors (MSVC 2010, Windows 7 Ultimate 64-bit)
    By andrey.khaletsky in forum Installation and Deployment
    Replies: 3
    Last Post: 30th September 2010, 08:16
  2. Replies: 1
    Last Post: 21st September 2010, 08:58
  3. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  4. Problem with compiling Qt 4.6 via MSVC 2010 Beta2 (win32-msvc specs)
    By Erik-Moscow in forum Installation and Deployment
    Replies: 2
    Last Post: 17th December 2009, 18:44
  5. Possible to compile Qt 4.5 source with msvc 2010 beta?
    By JimDaniel in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd July 2009, 14:19

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.