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. Error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options
Forum Updated to NodeBB v4.3 + New Features

Error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 2.5k 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.
  • K Offline
    K Offline
    khanhmg
    wrote on last edited by khanhmg
    #1

    I've just installed Qt Creator and run my first program. However, an error occurred: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. I've googled it and found that some people also run into this error, but I don't know exactly what to do because I don't really understand it. Can someone show me how to get rid of this problem? Thank you.
    Here are the screenshots:

    pic1
    pic2
    pic3
    pic4

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You can't mix and match Visual Studio versions. You've got a kit set up with Qt compiled for VS2013, but only VS2015 installed.

      You can either install VS2013 and use that or compile Qt with VS2015 yourself and setup a kit for it.

      K 1 Reply Last reply
      0
      • Chris KawaC Chris Kawa

        You can't mix and match Visual Studio versions. You've got a kit set up with Qt compiled for VS2013, but only VS2015 installed.

        You can either install VS2013 and use that or compile Qt with VS2015 yourself and setup a kit for it.

        K Offline
        K Offline
        khanhmg
        wrote on last edited by
        #3

        @Chris-Kawa How can I set a kit? Could you tell me briefly how to do it? Thanks.

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by Chris Kawa
          #4

          If you're new to this I would suggest just using VS2013. It's the easier option.

          If you want to use VS2015 you will have to first build Qt from source, as there's no precompiled package for that version. then You need to add that build to Creator and the set up a kit.

          K 1 Reply Last reply
          0
          • Chris KawaC Chris Kawa

            If you're new to this I would suggest just using VS2013. It's the easier option.

            If you want to use VS2015 you will have to first build Qt from source, as there's no precompiled package for that version. then You need to add that build to Creator and the set up a kit.

            K Offline
            K Offline
            khanhmg
            wrote on last edited by
            #5

            @Chris-Kawa Thank you very much.

            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