Results 1 to 4 of 4

Thread: Using MSVC to MINGW

  1. #1
    Join Date
    Oct 2012
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Using MSVC to MINGW

    Hi! I would like to compile using mingw for LINUX platform. Currently, I'm using MSVC. Can I compile it to mingw instead?
    Thanks!

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Using MSVC to MINGW

    You cannot use MSVC in linux. But you can use Mingw in linux. In windows you can use both compiler i.e; Mingw,MSVC
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  3. #3
    Join Date
    Oct 2012
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Using MSVC to MINGW

    Thanks! if its was previously compiled to msvc, can i recompile it using mingw? i tried it but a lot of errors came out.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Using MSVC to MINGW

    if its was previously compiled to msvc, can i recompile it using mingw?
    Yes. If you have used any feature of the Windows API later than Win 95/NT then you should read the comments at the top of MingW's windef.h file. If you have used any of the 100s of Microsoft-isms in your code, like linker directives or odd-ball defines, then is may still not compile but you will be closer.

  5. The following user says thank you to ChrisW67 for this useful post:


Similar Threads

  1. mingw link with msvc dll
    By jhowland in forum Qt Programming
    Replies: 5
    Last Post: 2nd April 2012, 12:07
  2. MSVC based ibraries with QT & Mingw ?
    By tonnot in forum General Programming
    Replies: 5
    Last Post: 9th October 2011, 21:58
  3. 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
  4. Mingw vs MSVC?
    By vbman213 in forum Newbie
    Replies: 3
    Last Post: 18th February 2010, 07:51
  5. qmake for both msvc/mingw ?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2007, 12:06

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.