aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-31 14:11:17 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-31 16:19:20 +0100
commited92e44b61544e522b8693ea4737f2726b229d10 (patch)
treeadb0d6f551435f85a1edfa56d6ba7938ce201c03
parent8622862b00cb28ef60d673a82ce404d54333cb76 (diff)
Add includes to fix build errors in tests and examples
Change-Id: I47dcf16b1d207317985e303c626a121aa307704c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--examples/quickcontrols2/chattutorial/chapter4-models/main.cpp2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp2
-rw-r--r--tests/auto/pressandhold/tst_pressandhold.cpp1
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/quickcontrols2/chattutorial/chapter4-models/main.cpp b/examples/quickcontrols2/chattutorial/chapter4-models/main.cpp
index 2986e4b1..bbe7b3ad 100644
--- a/examples/quickcontrols2/chattutorial/chapter4-models/main.cpp
+++ b/examples/quickcontrols2/chattutorial/chapter4-models/main.cpp
@@ -48,8 +48,8 @@
**
****************************************************************************/
+#include <QtCore>
#include <QGuiApplication>
-#include <QStandardPaths>
#include <QSqlDatabase>
#include <QSqlError>
#include <QtQml>
diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp b/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp
index 2986e4b1..bbe7b3ad 100644
--- a/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp
+++ b/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp
@@ -48,8 +48,8 @@
**
****************************************************************************/
+#include <QtCore>
#include <QGuiApplication>
-#include <QStandardPaths>
#include <QSqlDatabase>
#include <QSqlError>
#include <QtQml>
diff --git a/tests/auto/pressandhold/tst_pressandhold.cpp b/tests/auto/pressandhold/tst_pressandhold.cpp
index f58bea03..1eb5eebc 100644
--- a/tests/auto/pressandhold/tst_pressandhold.cpp
+++ b/tests/auto/pressandhold/tst_pressandhold.cpp
@@ -37,6 +37,7 @@
#include <QtTest>
#include <QtQuick>
#include <QtQuickControls2/qquickstyle.h>
+#include <QStyleHints>
class tst_PressAndHold : public QObject
{