diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-17 09:40:48 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-05-18 17:54:15 +0200 |
commit | 7b736e1faf1fb6ed69a0a4b53b96ec3a9e9941e8 (patch) | |
tree | 0f6752d024bfc297209b82295ee811a2cec83dd6 /tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h | |
parent | f2fea2325de7554e226767d94eb01574a069a324 (diff) |
Make qGlobalPostedEventsCount() auto-test-exported-only
The only in-tree user outside QtCore is tst_QCoreApplication, guard
the (single) test function there with QT_BUILD_INTERNAL.
Change-Id: Ibc87ba76f2135cd8283acd75318f80a95e4b5c45
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h')
-rw-r--r-- | tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h index 728f98f42e..0894b64f33 100644 --- a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h +++ b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.h @@ -22,7 +22,9 @@ private slots: void deliverInDefinedOrder(); #endif void applicationPid(); +#ifdef QT_BUILD_INTERNAL void globalPostedEventsCount(); +#endif void processEventsAlwaysSendsPostedEvents(); #ifdef Q_OS_WIN void sendPostedEventsInNativeLoop(); |