Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to manually set Visual C++ compiler in Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

How to manually set Visual C++ compiler in Qt Creator?

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 2.8k Views 2 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.
  • M Offline
    M Offline
    MaruSugar
    wrote on 14 Aug 2017, 20:44 last edited by
    #1

    Re: How to manually set Visual C++ compiler in Qt Creator?

    I must be doing something wrong, but I have spend all day trying to get QT to work. I have re-installed it at least 5 times, yet it fails to find my Visual Studio 2015 installation/compiler.
    I've looked at suggested page: http://doc.qt.io/qtcreator/creator-targets.html, but it does not provide any help regarding VS 20xx compiler.
    Google search mostly shows result for using VS instead of QT - that's not what I want.

    This is my setup/sequence:
    Installed Visual Studio 2015 Professional,
    Installed QT 5.6.2 MSVC2015 64bit
    (Tried 5.9.1 msvc2015_32 and _64 - same situation).

    In Build & Run:
    QT Versions: Auto-detected: Qt 5.6.2 MSVC2015 64bit. With Red exclamation mark.
    Compilers: Auto-detect - none.
    CMake: Autodetect - none.

    MY questions:

    • How to install so it all works as correctly.
    • How to tell QT Creator that there is a VS2015 already installed.
    • What file do I need to link as compiler? What is usual location for that file?
    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on 14 Aug 2017, 21:03 last edited by Chris Kawa
      #2

      Well, as silly as it sounds, the first thing to check is if you actually installed the C++ compiler.
      If I remember correctly the VS2015 installer does not have that checkbox selected by default (it only has C#/.Net stuff selected), so check if you can actually create and compile a C++ project in VS. If not, run the VS installer again and make sure to select the C++ components.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        MaruSugar
        wrote on 14 Aug 2017, 21:41 last edited by
        #3

        I will reply to my own question.
        I do apologize to everyone for being thick/new here.
        The problem was with corrupted Visual Studio installation. After re-install, all was corrected, without reinstall of QT Creator.( Hats down to you guys).

        My next task to setup Android compiler. Back to Google.

        Thank you, to everyone, who looked into this.

        1 Reply Last reply
        0

        1/3

        14 Aug 2017, 20:44

        • 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