summaryrefslogtreecommitdiffstats
path: root/examples/sql/querymodel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/querymodel')
-rw-r--r--examples/sql/querymodel/customsqlmodel.cpp2
-rw-r--r--examples/sql/querymodel/main.cpp2
-rw-r--r--examples/sql/querymodel/querymodel.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/sql/querymodel/customsqlmodel.cpp b/examples/sql/querymodel/customsqlmodel.cpp
index 5b09dd634b..534707e8e1 100644
--- a/examples/sql/querymodel/customsqlmodel.cpp
+++ b/examples/sql/querymodel/customsqlmodel.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "customsqlmodel.h"
diff --git a/examples/sql/querymodel/main.cpp b/examples/sql/querymodel/main.cpp
index ac1a33f781..d001fda866 100644
--- a/examples/sql/querymodel/main.cpp
+++ b/examples/sql/querymodel/main.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "../connection.h"
#include "customsqlmodel.h"
diff --git a/examples/sql/querymodel/querymodel.pro b/examples/sql/querymodel/querymodel.pro
index 8b9923197f..8e3db2a768 100644
--- a/examples/sql/querymodel/querymodel.pro
+++ b/examples/sql/querymodel/querymodel.pro
@@ -4,7 +4,7 @@ HEADERS = ../connection.h \
SOURCES = customsqlmodel.cpp \
editablesqlmodel.cpp \
main.cpp
-QT += sql
+QT += sql widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/querymodel