Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5.1.1 not recognizes QMessageBox
starter last edited by
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