Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    MSVC compiler in Qt Creator

    Tools
    3
    6
    7726
    Loading More Posts
    • 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
      kimu9 last edited by

      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 Reply Quote 0
      • K
        kimu9 last edited by

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

        1 Reply Last reply Reply Quote 0
        • L
          lgeyer last edited by

          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 Reply Quote 0
          • K
            kimu9 last edited by

            Thanks Lukas :)

            1 Reply Last reply Reply Quote 0
            • S
              Scylla last edited by

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

              1 Reply Last reply Reply Quote 0
              • K
                kimu9 last edited by

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post