I am trying to compile this simple qt application with Visual Studio express 2013 for Desktop:
#include <QApplication.h>
#include <QTextEdit.h>
int main(int argv, char **args)
{
QApplication app(argv, args);
QTextEdit textEdit;
textEdit.show();
return app.exec();
}
but when I compile I have this error :
Errore 1 error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: __thiscall QApplication::QApplication(int &,char * *,int)" (__imp_??0QApplication@@QAE@AAHPAPADH@Z) non risolto nella funzione _main C:\Users\Enrico\Documents\Visual Studio 2013\Projects\Progetto2\Progetto2\Origine.obj Progetto2
English:
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QApplication::QApplication(int &,char * *,int)" (__imp_??0QApplication@@QAE@AAHPAPADH@Z) referenced in function _main C:\Users\Enrico\Documents\Visual Studio 2013\Projects\Progetto2\Progetto2\Origine.obj Progetto2
Thanks for everyone who helps me.