diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-02-11 11:34:21 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-03-10 23:25:33 -0800 |
commit | 399eb3da3a9883768a00f45b59606db822d9d749 (patch) | |
tree | aca207a3344b522b7f5ee38ab4312ee78ef1b733 /src/qmltest | |
parent | b92ab2b48e8a69baac0d236f09b56484d2ee7698 (diff) |
Make sure all private headers include at least one other
See script in qtbase/util/includeprivate for the rules.
Since these files are being touched anyway, I also ran the
updatecopyright.pl script too.
Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qmltest')
-rw-r--r-- | src/qmltest/qtestoptions_p.h | 3 | ||||
-rw-r--r-- | src/qmltest/quicktestglobal_p.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/qmltest/qtestoptions_p.h b/src/qmltest/qtestoptions_p.h index 7be5c88590..e8d8caada9 100644 --- a/src/qmltest/qtestoptions_p.h +++ b/src/qmltest/qtestoptions_p.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2018 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtTest module of the Qt Toolkit. @@ -53,6 +53,7 @@ #if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) # include <QtTest/qtest_global.h> +# include <QtCore/private/qglobal_p.h> #else # include <QtTest/qttestglobal.h> #endif diff --git a/src/qmltest/quicktestglobal_p.h b/src/qmltest/quicktestglobal_p.h index 0327f73b4c..8f3b183eb6 100644 --- a/src/qmltest/quicktestglobal_p.h +++ b/src/qmltest/quicktestglobal_p.h @@ -52,6 +52,7 @@ // #include "quicktestglobal.h" +#include "private/qglobal_p.h" #define Q_QUICK_TEST_PRIVATE_EXPORT Q_QUICK_TEST_EXPORT |