1// Copyright (C) 2021 The Qt Company Ltd.
2// Copyright (C) 2024 Intel Corporation.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#define QT_TESTLIB_BUILD_REMOVED_API
6
7#include "qtest.h"
8
9#if QT_TESTLIB_REMOVED_SINCE(6, 8)
10
11QT_BEGIN_NAMESPACE
12
13namespace QTest {
14
15Q_TESTLIB_EXPORT char *toString(const void *p)
16{
17 const volatile void *ptr = p;
18 return toString(ptr);
19}
20
21} // namespace QTest
22
23QT_END_NAMESPACE
24
25// #include "qotherheader.h"
26// implement removed functions from qotherheader.h
27// order sections alphabetically to reduce chances of merge conflicts
28
29#endif // QT_TESTLIB_REMOVED_SINCE(6, 8)
30

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtbase/src/testlib/removed_api.cpp