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
Forum Updated to NodeBB v4.3 + New Features

How to compile Qt with Microsoft Visual Studio

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.1k 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 3 Dec 2013, 08:48 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
    • R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 3 Dec 2013, 08:51 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 3 Dec 2013, 08:57 last edited by
        #3

        I check it again now and yes it is correct.

        1 Reply Last reply
        0

        1/3

        3 Dec 2013, 08:48

        • Login

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