diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-31 14:11:17 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-31 16:19:20 +0100 |
commit | ed92e44b61544e522b8693ea4737f2726b229d10 (patch) | |
tree | adb0d6f551435f85a1edfa56d6ba7938ce201c03 | |
parent | 8622862b00cb28ef60d673a82ce404d54333cb76 (diff) |
Add includes to fix build errors in tests and examples
Change-Id: I47dcf16b1d207317985e303c626a121aa307704c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
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 { |