Important: Please read the Qt Code of Conduct -

[Solved]Compilation Error in Qt 5.4.1

  • Whenever I try to run my project on qt, I get this error:
    Configuration is faulty. Check Issues view for detail.
    -- Error while building/deploying project XYZ(Kit:Desktop Qt 5.4.1 GCC 64 bit)
    when executing "Make" step.

    Qt Creator needs a compiler setup to build. Configure a compiler in the kit options.

  • So you need to go and look in: Projects --> Manage Kits --> Kits

    Here, select the kit that you are using (Desktop Qt 5.4.1 GCC 64bit) and look down the list of parameters. One of them is the Compiler.

    What does it say in this field?

    If there is nothing here, then look under Compilers tab, what compilers are listed?

    Which compiler are you expecting to use?
    Is it possible that you have not installed g++? (linux comes with gcc by default, but not always g++). To test this type "g++ --version" into the command line, what does it say?

    to install this (and other usefult things) type: "sudo apt-get install g++-multilib" into the command line.

Log in to reply