Results 1 to 2 of 2

Thread: Develop with both MSVC and MinGW on Windows

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Qt products
    Qt4

    Default Develop with both MSVC and MinGW on Windows

    I would prefer to use MinGW for all my projects, but I also want to be able to build project that use COM/DCOM components like QAxScriptManager. Is it possible to have both MinGW and MSVC setup on the same machine and be able to create or change a project that targets either? If so (I assume it is), then what needs to be done for a) setting up the Windows environment (e.g. Path), and b) setting up Qt Creator (qmake)?

    Regards,
    Matt

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

    Default Re: Develop with both MSVC and MinGW on Windows

    Yes, it is possible, just install the MinGW and VS versions in different directories. For PATH I would just include the path to the DLLs used most, eg if you use QtCreator more than VS then put those DLLs in the path. For your VS projects you would then have to copy the appropriate DLLs into your projects output folder or build statically.

Similar Threads

  1. mingw link with msvc dll
    By jhowland in forum Qt Programming
    Replies: 5
    Last Post: 2nd April 2012, 12:07
  2. how to set QT Creator to use MSVC++ compiler instead of mingw
    By hcetiner in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2010, 19:55
  3. Mingw vs MSVC?
    By vbman213 in forum Newbie
    Replies: 3
    Last Post: 18th February 2010, 07:51
  4. Open source dev on windows: MinGW vs MSVC
    By magland in forum Installation and Deployment
    Replies: 4
    Last Post: 29th December 2007, 08:20
  5. qmake for both msvc/mingw ?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2007, 12:06

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.