Hi! I am new to Qt and I currently revising C++
I have created this simple program:
#include <QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug() << "hello world";
return a.exec();
}
When I press Run I get the following error messsage: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
So I went to Tools>Options and selected Build&Run and Compilers tab. There is the Microsoft Visual C++ Compiler 12.0 (x86) under the Auto-detected option. I installed MinGW compiler for windows 32-bit and I added it to the Compilers. I selected MinGW as the compiler and pressed Run and i got the same error message. Have i done something wrong in the installation or configuration of the compiler?
Thanks
↧