diff options
Diffstat (limited to 'examples/painting/shared')
-rw-r--r-- | examples/painting/shared/hoverpoints.h | 2 | ||||
-rw-r--r-- | examples/painting/shared/shared.pro | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/painting/shared/hoverpoints.h b/examples/painting/shared/hoverpoints.h index aff5d2ac75..af755a2a50 100644 --- a/examples/painting/shared/hoverpoints.h +++ b/examples/painting/shared/hoverpoints.h @@ -42,7 +42,7 @@ #ifndef HOVERPOINTS_H #define HOVERPOINTS_H -#include <QtGui> +#include <QtWidgets> QT_FORWARD_DECLARE_CLASS(QBypassWidget) diff --git a/examples/painting/shared/shared.pro b/examples/painting/shared/shared.pro index e996956880..18f1d72398 100644 --- a/examples/painting/shared/shared.pro +++ b/examples/painting/shared/shared.pro @@ -3,7 +3,7 @@ CONFIG += static contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { DEFINES += QT_OPENGL_SUPPORT - QT += opengl + QT += opengl widgets } build_all:!build_pass { @@ -11,7 +11,7 @@ build_all:!build_pass { CONFIG += release } TARGET = demo_shared -QT += gui-private +QT += gui-private widgets SOURCES += \ arthurstyle.cpp\ |