Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. :-1: 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

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

Scheduled Pinned Locked Moved General and Desktop
36 Posts 8 Posters 80.7k Views 1 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.
  • JKSHJ Online
    JKSHJ Online
    JKSH
    Moderators
    wrote on last edited by
    #17

    Actually, I just remembered that someone has kindly provided an unofficial MinGW-based build, inclusive of a compiler, which should work out-of-the-box.

    If you want to avoid the hassle of fixing your MSVC 2010 installation, you can use this instead: http://lists.qt-project.org/pipermail/development/2012-December/008919.html

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

    1 Reply Last reply
    0
    • C Offline
      C Offline
      changedsoul
      wrote on last edited by
      #18

      I am getting this error too. I am trying to learn Qt. I download this development environment thinking it contains everything I need, but am un able to compile.

      I have a fresh Install of Windows 8 Pro, absolutly no other programming tools installed. I downloaded Qt 5 just a few days ago and installed. Started a Qt GUI wizard app, tried to compile and got the error that I have no compiler.

      Correct me if I am wrong, but should not this Qt designer install a compiler that works with itself? And of not, should it not prompt the user there is not one installed and give a link to download, or maybe have Qt installer get it itself and install it?

      1 Reply Last reply
      0
      • U Offline
        U Offline
        utcenter
        wrote on last edited by
        #19

        Uh... windows 8, someone even tested this piece of #$@&?

        The current offline installer DOES NOT COME with a compiler, and is build to work with Visual Studio 2010's compiler. You can get VS2010 express for free and install that.

        ... or wait a few more days for Qt 5.0.1 to come out, it will provide more pre-build binaries to work with different compilers, I suppose windows 8 will be a better match with VS2012, which I may say compiles and works very well with Qt with a few minor issues, but I am using windows 7. I even downgraded a new machine that came with 8 after spending some time with it and failing to get charmed...

        1 Reply Last reply
        0
        • C Offline
          C Offline
          changedsoul
          wrote on last edited by
          #20

          I am forced to be on windows 8. I have tried and tried to downgrade to windows 7, but everytime I get through the install, it fails with not being able to configure on my hardware. I have begun to like windows 8 now that I can by pass that horrid start screen, and got my start menu back. Thank you for clarifying that this version doesnt come with a compiler. I will wait till one comes out that has one available.

          1 Reply Last reply
          0
          • JKSHJ Online
            JKSHJ Online
            JKSH
            Moderators
            wrote on last edited by
            #21

            [quote author="changedsoul" date="1358481491"]Correct me if I am wrong, but should not this Qt designer install a compiler that works with itself? And of not, should it not prompt the user there is not one installed and give a link to download, or maybe have Qt installer get it itself and install it?[/quote]Qt supports many different compilers (MSVC, GCC, Clang, Intel C++ Compiler, and maybe others) so you can choose your compiler and integrate it with Qt Creator. You just need to make sure that your Qt Library was built using that compiler. Like utcenter said, the current Qt 5.0.0 package is for MSVC 2010; soon, Qt 5.0.1 packages will be released for MSVC 2010, MSVC 2012, and MinGW 4.7

            There are 2 problems with providing a compiler:

            • It is illegal for us to provide MSVC or the Intel C++ Compiler
            • We used to provide MinGW (GCC for Windows), but people complained that:
              ** They already have a compiler, and didn't want to download a package that includes a compiler
              ** The flavour of MinGW that we provided was not the one they wanted

            Anyway, Qt is a library. Libraries don't usually provide compilers (for example, GTK+, wxWidgets, and SDL don't provide compilers either)

            [quote author="changedsoul" date="1358552730"]Thank you for clarifying that this version doesnt come with a compiler. I will wait till one comes out that has one available. [/quote]You might have to wait a long time for an official package. However, alexpux made an unofficial build here: http://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/Qt-Builds/Qt-5.0.1-x32.7z/download

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

            1 Reply Last reply
            0
            • B Offline
              B Offline
              BoomC
              wrote on last edited by
              #22

              Hy.
              I have the same problem.
              :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.!
              !http://img5.fotos-hochladen.net/uploads/01mtdehu1g0f.jpg()!
              !http://img5.fotos-hochladen.net/uploads/02zsh2ec4oar.jpg()!
              !http://img5.fotos-hochladen.net/uploads/034n9qoahy3f.jpg()!
              http://img5.fotos-hochladen.net/uploads/04qv9b5fr4uz.jpg

              I try to solve it already for one week.

              thanks

              1 Reply Last reply
              0
              • B Offline
                B Offline
                BoomC
                wrote on last edited by
                #23

                Sorry for the broken pics
                here the new.

                http://s14.directupload.net/file/d/3258/kslv6haf_jpg.htm
                http://s14.directupload.net/file/d/3258/yj7cvkuo_jpg.htm
                http://s14.directupload.net/file/d/3258/aodclqfr_jpg.htm
                http://s1.directupload.net/file/d/3258/peqqzllc_jpg.htm

                1 Reply Last reply
                0
                • JKSHJ Online
                  JKSHJ Online
                  JKSH
                  Moderators
                  wrote on last edited by
                  #24

                  Your compiler is MinGW... but you installed the Visual Studio version of Qt.

                  You can choose one of these:

                  • Download "Qt 5.0.2 for Windows 32-bit (MinGW 4.7, 650 MB)": http://qt-project.org/downloads , OR
                  • Download Visual Studio 2012: http://www.microsoft.com/visualstudio/eng/downloads

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

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    BoomC
                    wrote on last edited by
                    #25

                    Download Qt 5.0.2 for Windows 32-bit (MinGW 4.7, 650 MB)”: http://qt-project.org/downloads

                    thanks for the quick answer.
                    However, I have win7-64bit.

                    1 Reply Last reply
                    0
                    • JKSHJ Online
                      JKSHJ Online
                      JKSH
                      Moderators
                      wrote on last edited by
                      #26

                      You're welcome :)

                      [quote author="BoomC" date="1368789344"]However, I have win7-64bit.[/quote]It doesn't matter. You can create and run 32-bit applications in 64-bit Windows.

                      But anyway, I gave you two different options. If you don't want the 32-bit MinGW, you can download the 64-bit "Visual Studio Express 2012 for Windows Desktop": http://www.microsoft.com/visualstudio/eng/downloads

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

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        BoomC
                        wrote on last edited by
                        #27

                        the same error message

                        http://s1.directupload.net/file/d/3258/ii95fmns_jpg.htm
                        http://s14.directupload.net/file/d/3258/xmqw63af_jpg.htm
                        http://s1.directupload.net/file/d/3258/px6pxv4e_jpg.htm

                        1 Reply Last reply
                        0
                        • JKSHJ Online
                          JKSHJ Online
                          JKSH
                          Moderators
                          wrote on last edited by
                          #28

                          Now, you need to tell your project to use to correct kit.

                          Click "Projects" (left side of Qt Creator)

                          Click "Add Kit" (top-left corner of Qt Creator)

                          Select your 32-bit MinGW kit

                          Click the computer icon that says "Debug" (bottom-left corner of Qt Creator)

                          Select your 32-bit MinGW kit

                          Compile your program :)

                          Also, you should uninstall the MSVC2012 version of Qt.

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

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            BoomC
                            wrote on last edited by
                            #29

                            :-1: error: [copydeploymentfolders] Error 1

                            http://s1.directupload.net/file/d/3258/adlmwhip_jpg.htm

                            1 Reply Last reply
                            0
                            • JKSHJ Online
                              JKSHJ Online
                              JKSH
                              Moderators
                              wrote on last edited by
                              #30

                              Hmm... I haven't seen that message before. Can you post everything in "Compile Output"?

                              Also, try this:

                              Close Qt Creator

                              Uninstall the MSVC2012 version of Qt

                              Delete C:\Qt\DATA\1st\1st.pro.user

                              Re-open your project

                              Compile again

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

                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                BoomC
                                wrote on last edited by
                                #31

                                http://s7.directupload.net/images/130521/sx9zodmw.jpg

                                This time i run step by step the first Tutorial.
                                Same error.

                                1 Reply Last reply
                                0
                                • JKSHJ Online
                                  JKSHJ Online
                                  JKSH
                                  Moderators
                                  wrote on last edited by
                                  #32

                                  Please post the error message from the "4. Compile Output" window.

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

                                  1 Reply Last reply
                                  0
                                  • B Offline
                                    B Offline
                                    BoomC
                                    wrote on last edited by
                                    #33

                                    I solve it.
                                    Just add to make the -no-copy argument.
                                    http://s14.directupload.net/images/130521/umyjorzw.jpg

                                    Thanks 4 your help.
                                    It certainly was not the last time that I need help.

                                    1 Reply Last reply
                                    0
                                    • JKSHJ Online
                                      JKSHJ Online
                                      JKSH
                                      Moderators
                                      wrote on last edited by
                                      #34

                                      You're welcome :) Just post a new question in the forum if you want more help. Have fun with using Qt!

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

                                      1 Reply Last reply
                                      0
                                      • I Offline
                                        I Offline
                                        iFede94
                                        wrote on last edited by
                                        #35

                                        I have QT 5.2.0 MSVC2012 openGL 64bit and when I try to build a project it gives an error: ":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options." In compilers section I have: microsoft visual c++ compiler 12.0(x86), microsoft visual c++ compiler 12.0(amd64), microsoft visual c++ compiler 12.0(arm) and minGwW(x86 32bit). How can I risolve it?

                                        1 Reply Last reply
                                        0
                                        • JKSHJ Online
                                          JKSHJ Online
                                          JKSH
                                          Moderators
                                          wrote on last edited by
                                          #36

                                          Visual C++ 12.0 is from MSVC 2013.

                                          You need to install MSVC 2012 (Visual C++ 11.0).

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

                                          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