summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/snippets/scriptdebugger.cpp2
-rw-r--r--examples/script/qstetrix/tetrixboard.cpp2
-rw-r--r--src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp4
-rw-r--r--tests/benchmarks/script/qscriptqobject/tst_qscriptqobject.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/snippets/scriptdebugger.cpp b/doc/src/snippets/scriptdebugger.cpp
index 2630706..95eca62 100644
--- a/doc/src/snippets/scriptdebugger.cpp
+++ b/doc/src/snippets/scriptdebugger.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include <QtScript>
#include <QtScriptTools>
diff --git a/examples/script/qstetrix/tetrixboard.cpp b/examples/script/qstetrix/tetrixboard.cpp
index 30d3fe6..4531e40 100644
--- a/examples/script/qstetrix/tetrixboard.cpp
+++ b/examples/script/qstetrix/tetrixboard.cpp
@@ -40,7 +40,7 @@
#include "tetrixboard.h"
-#include <QtGui>
+#include <QtWidgets>
Q_DECLARE_METATYPE(QPainter*)
diff --git a/src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp b/src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp
index 7cd55ec..d07969b 100644
--- a/src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp
+++ b/src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp
@@ -48,10 +48,10 @@
#include <QtCore/qdebug.h>
#include <QtWidgets/qheaderview.h>
#include <QtWidgets/qcompleter.h>
-#include <QtWidgets/qstringlistmodel.h>
+#include <QtCore/qstringlistmodel.h>
#include <QtWidgets/qtreeview.h>
#include <QtWidgets/qboxlayout.h>
-#include <QtWidgets/qsortfilterproxymodel.h>
+#include <QtCore/qsortfilterproxymodel.h>
#include <QtWidgets/qlineedit.h>
#include <QtWidgets/qstyleditemdelegate.h>
#include <QtGui/qevent.h>
diff --git a/tests/benchmarks/script/qscriptqobject/tst_qscriptqobject.cpp b/tests/benchmarks/script/qscriptqobject/tst_qscriptqobject.cpp
index 13dcffc..e7528a2 100644
--- a/tests/benchmarks/script/qscriptqobject/tst_qscriptqobject.cpp
+++ b/tests/benchmarks/script/qscriptqobject/tst_qscriptqobject.cpp
@@ -40,7 +40,7 @@
****************************************************************************/
#include <qtest.h>
-#include <QtGui>
+#include <QtWidgets>
#include <QtScript>
#define ITERATION_COUNT 1e4