Qt is not building the example



  • I am new to Qt. I just installed Qt 5.6 and wanted to check the examples in windows 10 laptop. But i tried all the solution but i am not able to build any examples i am getting this error "error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options." Here is my kit
    Desktop Qt 5.6.0 MinGW 32 bit



  • Hello and welcome to devnet,

    as the message says: you need a compiler. Since you are using the MinGW kit from Qt, you'll need the MinGW compiler.
    You can either find it on their homepage, or use the direct download link for the installer.

    After you have installed the compiler, Qt should (hopefully) detect it automatically. That means you are able to compile and run the Examples and your projects.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    No need to go that far. You can install MinGW directly from the Qt SDK installer.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.