SyntaxFix
Write A Post
Hire A Developer
Questions
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