Results 1 to 4 of 4

Thread: Mingw vs MSVC?

  1. #1
    Join Date
    Jan 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Mingw vs MSVC?

    I'm trying to find a good reason to stick with Mingw as my build environment. Is MSVC 2008 a better alternative? I hear it produces smaller and more efficient EXEs? I installed MSVC 2008 Express Edition, I'm currently running nmake on QT right now...

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Mingw vs MSVC?

    Personally, I had a lot of trouble deploying binaries created with VS2005 because all that manifest-stuff. I guess, the situation is the same with VS2008. Try to deploy on of your applications if you do not want surprised later on.

    Deploying mingw or MSVC 2003 and less was pretty easy: Just ship the compilier's libc and you are done.
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Mingw vs MSVC?

    MSVC does produce smaller and slightly more efficient executables. On today's pc's you'll probably not even notice the difference though.

    MSVC has a vcredist.exe somewhere in it's program directory. You have to ship that with your application. In any case, you can get the VC redistributables from the mickeysoft website somewhere.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

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

    Default Re: Mingw vs MSVC?

    It does produce smaller and possibly more efficient code. I'd go with QtCreator as IDE rather than standard VS, but the VS Debugger is far superior. If you use a commercial IDE enhancement on VS, then you can get much better than Qt Creator, but that can cost a lot of money (as they also require the paid-for VS, rather than Express edition).

    Is it worth the cost? For an enthusiast programmer, I'd say not. If you make a living from coding, then sure.

Similar Threads

  1. 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
  2. msvc++ 2008 express and msvc++ 2005 express
    By vonCZ in forum Installation and Deployment
    Replies: 4
    Last Post: 9th December 2008, 12:15
  3. Open source dev on windows: MinGW vs MSVC
    By magland in forum Installation and Deployment
    Replies: 4
    Last Post: 29th December 2007, 08:20
  4. qmake for both msvc/mingw ?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2007, 12:06
  5. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17

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.