How to compile with /MD in Qt creator



  • How do I compile my project with /MD. I am using Qt Creator 2.4.1 Based on Qt 4.7.4 (32 bit) on windows 7. I am compiling with msvc2010.

    cheers



  • The qt-creator will choose right compile option depend on your project is Debug or Release.
    You can see compile output when compiling and you will find this:
    Debug:
    @cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc ....@

    Release:
    @cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc ....@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.