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. :-1: error: Qt Creator needs a compiler set up to build.

:-1: error: Qt Creator needs a compiler set up to build.

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 7.9k 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.
  • S Offline
    S Offline
    Serafel
    wrote on last edited by
    #1

    I realized this has been asked a lot just by searching, but I didn't find the exact thing I was looking for.
    I am new to QT and tried to compile a test program and received the error ":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options."

    I installed QT version 5.1.1 32 bit version on windows 7 64 bit version.

    When I check the build and run section the only kit without a red exclamation mark is "Desktop Qt 5.1.1 MinGW 32bit (default)" and my compiler is "MinGW 4.8 32bit". From what I've searched I assume they don't work together and I need either a new compiler or new kit but I don't know where to start.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      If you download the Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) package at http://qt-project.org/downloads, it comes with the correct compiler + library combo that is known to work together. It works on my 64-bit Windows 8 PC. During installation, make sure you tick the box to install the MinGW compiler.

      It is important that you don't have any other version of MinGW in your environment -- uninstall all other versions (or at least remove them from your PATH) before installing this one.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Serafel
        wrote on last edited by
        #3

        Thanks, I'll go ahead and try that now. Ill edit this post later with my results, success or not.

        edit: It worked perfectly! Thanks so much, now to further verse myself in using QT.

        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