Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to compile Qt with Microsoft Visual Studio
Qt 6.11 is out! See what's new in the release blog

How to compile Qt with Microsoft Visual Studio

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    citi
    wrote on last edited by
    #1

    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...

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      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?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • C Offline
        C Offline
        citi
        wrote on last edited by
        #3

        I check it again now and yes it is correct.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved