I have installed C++SDK that have Qt but when I try compiling a code linking QApplication it gives me the error:
Error QApplication: no such file or directory >
In Qt 5 you now have to add widgets to the QT qmake variable (in your MyProject.pro file).
widgets
QT
MyProject.pro
QT += widgets