Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Widget Applications will not compile and run



  • I just started using Qt, and for some reason whenever I make a Qt Widget Application project, I get this error:

    Configuration is faulty. Check the Issues view for details.
    Error while building/deploying project TestCppGame (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
    When executing step "Make" 
    

    However, I do not get any error when running Qt Console Applications. I checked the kit setup and it is the same for both. I am using Microsoft Visual C++ Compiler 12.0 and CMake3.6


  • Qt Champions 2019

    What can you see in "Compile Output" and "Issues" tabs in QtCreator?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Visual C++ Compiler 12.0 comes from Visual Studio 2013. You installed Qt for Visual Studio 2015 so you have two solutions:

    1. Install Visual Studio 2015
    2. Install Qt for Visual Studio 2013

    On Windows you can't mix and match compilers, they are not compatible one with the other. Nothing Qt specific.


Log in to reply