How to Solve Error:cannot open source file “QtWidgets/QMainWindow”

#include <QtWidgets/QMainWindow>

Error:cannot open source file “QtWidgets/QMainWindow”

Search for the MainWindow file in the QT library and display it in the QtGui folder, and modify it to #include <QtGui/QMainWindow>

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *