My <QtGui> file is not working
-
I think that my <QtGui> file is incomplete or has nothing in it. When I substitute the header file for the many widget classes I need for my project (as per the tutorial instructions), it's supposed to save typing and space in the .cpp file. It will not work. I think that the file is incomplete or has nothing in it.
This...#include <QtGui>
instead of...
#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>Does not work.
Does anyone have an answer as to how come the <QtGui> header file is not working? Thanks.
-
I think that my <QtGui> file is incomplete or has nothing in it. When I substitute the header file for the many widget classes I need for my project (as per the tutorial instructions), it's supposed to save typing and space in the .cpp file. It will not work. I think that the file is incomplete or has nothing in it.
This...#include <QtGui>
instead of...
#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>Does not work.
Does anyone have an answer as to how come the <QtGui> header file is not working? Thanks.
@TMahoney1979
try#include <QtWidgets>
;)