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. Problems/confusion configuring the compiler and the kit.
Qt 6.11 is out! See what's new in the release blog

Problems/confusion configuring the compiler and the kit.

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

    Hello

    I've just taken my first Qt steps by installing Qt 5.1.1 (MSVC 2010, 32 bit).
    During installation I chose to install all the compilers, as I had no idea which one would work.

    When I try to run an example, I get this error:
    Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

    Yet, I seem to have a compiler and kit set.
    I've tried to search for an answer, but didn't succeed. Can someone point we what to do.

    Thanks in advance.

    !http://i.imgur.com/zj2emJz.png(Screenshot)!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      For the MSVC packages you need to install the corresponding Visual Studio versions from Mircrosoft

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

        Thanks for your fast reply and for the welcome.

        • Is there a free version of Visual Studio?

        • Do I still need Visual Studio if I select MinGW?

        I have little/no background in Visual Studio and related Microsoft software.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4
          • Yes there is, look for the Express editions
          • No you don't

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

            Hi,

            Since you have already installed the MinGW compiler, your don't need MSVC any more. If you do want to switch in the future, go to Microsoft's website to down the free version.

            [quote author="ShanDeconinck" date="1385106980"]When I try to run an example, I get this error:
            Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

            Yet, I seem to have a compiler and kit set.[/quote]Ok, the Qt Creator IDE knows that you have a MinGW compiler and a copy of the Qt libraries built with MinGW.

            However, you must tell it to USE this kit. When you open an example for the first time, you are prompted to select the kit(s) to use. Make sure you select the MinGW kit.

            You have not installed MSVC compilers, so you cannot use the MSVC kits.

            [quote author="ShanDeconinck" date="1385106980"]During installation I chose to install all the compilers, as I had no idea which one would work.[/quote]Just so that you're aware, Qt does NOT supply MSVC compilers (Microsoft forbids it). It only supplies the MinGW compiler if you install "Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB)".

            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
              ShanDeconinck
              wrote on last edited by
              #6

              Thanks for your advice.

              My compiler is working now.
              Now I get an issue with OpenGl. Do I need to install this seperately?
              If this is a big issue I'll open a new topic for it ofcourse.

              Thanks for this strong community.

              !http://i.imgur.com/PChi62Z.png(screenshot)!

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

                Hi,

                You're welcome :)

                What is your graphics card model? Install the latest drivers for your graphics card.

                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
                  ShanDeconinck
                  wrote on last edited by
                  #8

                  I'm happy to say all problems are resolved. Thanks once more

                  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