How to compile Qt with Microsoft Visual Studio



  • I created a Qt programme, I can compile it without problem manuelly with Visual Studio (using Add-In) but when I try to compile it with coding I have a problem. The problem is
    @C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3. [C:\output\Deneme\Qt\projectQt.vcxproj]
    Done Building Project "C:\output\Deneme\Qt\projectQt.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "C:\output\Deneme\Qt\projectQt.vcxproj" (default target) (1) ->
    (CustomBuild target) ->
    C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3. [C:\output\Deneme\Qt\projectQt.vcxproj]

    0 Warning(s)
    1 Error(s) @
    

    How can I solve the problem, please help me...


  • Moderators

    exit code 3 in windows "means":http://www.hiteksoftware.com/knowledge/articles/049.htm "The system cannot find the path specified".
    Is the path "C:\output\Deneme\Qt\projectQt.vcxproj" correct?



  • I check it again now and yes it is correct.


Log in to reply
 

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