Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. MSVC compiler in Qt Creator
QtWS25 Last Chance

MSVC compiler in Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 8.1k Views
  • 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.
  • K Offline
    K Offline
    kimu9
    wrote on last edited by
    #1

    Hi,

    I am trying to compile my project with MSVC compiler in Qt Creator. I installed Qt SDK 1.1.2 (which I believe comes with Qt 4.7.3) and also installed the MSVC 2008 libraries under Development Tools section when I installed the SDK. My question is how to use this MSVC compiler in the creator instead of Mingw????

    I did go to Projects>Build Settings and set "Edit build configuration" to MSVC 2008(Qt SDK) Debug, and Qt version to "Qt 4.7.3 for Desktop - MSVC2008 (Qt SDK)". However, when I compiled it, the creator said "Qt Creator needs a tool chain set up to build. Please configure a tool chain in Project mode" So, I went to Tool>Options>Tool Chain, but did not see any MSVC option under the "Add" button (only Mingw, GCCE, WINSCW, and RVCT there). Do I need to install Visual Studio Express to get this tool-chain?

    Thank you very much

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kimu9
      wrote on last edited by
      #2

      oh..it works now. After I installed MS Visual Studio Express 2008, Qt Creator is able to detect the toolchain.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        The Qt SDK does only provide libraries compiled with MSVC2010, but does not include MSVC2010 itself. You will have to install either

        • VisualStudio 2010,
        • Visual C++ 2010 Express (available for free) or
        • Windows SDK 7.1 (available for free)

        All of the above allow for installing MSVC2010 for both, personal and commercial use (at least as I am informed).

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kimu9
          wrote on last edited by
          #4

          Thanks Lukas :)

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Scylla
            wrote on last edited by
            #5

            And don't forget the MS debug tools ;-)

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kimu9
              wrote on last edited by
              #6

              That's right, Scylla! Thanks a lot :)

              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