diff options
Diffstat (limited to 'demos/macmainwindow')
-rw-r--r-- | demos/macmainwindow/macmainwindow.h | 2 | ||||
-rw-r--r-- | demos/macmainwindow/macmainwindow.pro | 1 | ||||
-rw-r--r-- | demos/macmainwindow/main.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/demos/macmainwindow/macmainwindow.h b/demos/macmainwindow/macmainwindow.h index 4c2c638a20..1070981a89 100644 --- a/demos/macmainwindow/macmainwindow.h +++ b/demos/macmainwindow/macmainwindow.h @@ -41,7 +41,7 @@ #ifndef MACMAINWINDOW_H #define MACMAINWINDOW_H -#include <QtGui> +#include <QtWidgets> #ifdef Q_WS_MAC diff --git a/demos/macmainwindow/macmainwindow.pro b/demos/macmainwindow/macmainwindow.pro index 435905612a..6773a669d0 100644 --- a/demos/macmainwindow/macmainwindow.pro +++ b/demos/macmainwindow/macmainwindow.pro @@ -21,3 +21,4 @@ sources.files = $$SOURCES *.pro *.html sources.path = $$[QT_INSTALL_DEMOS]/qtbase/macmainwindow INSTALLS += target sources } +QT += widgets widgets diff --git a/demos/macmainwindow/main.cpp b/demos/macmainwindow/main.cpp index 0b513f8951..56c26b4645 100644 --- a/demos/macmainwindow/main.cpp +++ b/demos/macmainwindow/main.cpp @@ -39,7 +39,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "macmainwindow.h" #ifdef Q_WS_MAC |