Qt5.1.1 not recognizes QMessageBox
How can I use QMessageBox or its alternative in Qt5.1.1? Some includes is not recognized in this version.
Is your project already ported to Qt 5 or did you just start ? I the second case you need to add
@QT += widgets@
to your pro file