Important: Please read the Qt Code of Conduct -

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.


  • 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:
    @cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc ....@

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

Log in to reply