lundi 20 avril 2015

Qt creator needs a compiler

I have problem with Qt compiler.The error is :

Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. the code is:

#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
    QApplication a(argc, argv);
//   MainWindow w;

QLabel *lb=new QLabel();
lb->settext("first label");

return a.exec();


The version of Qt is 5.3.0 and i have visual studio 2010 .

In internet i read the version of Qt must be compatible with visual studio.

i want to know is problem from the version of the Qt and visual studio or another thing?

Aucun commentaire:

Enregistrer un commentaire