summaryrefslogtreecommitdiffstats
path: root/src/testlib/removed_api.cpp
blob: 00a53735a08f3c0be65cbb9204f61833ba43155a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2024 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#define QT_TESTLIB_BUILD_REMOVED_API

#include "qtest.h"

#if QT_TESTLIB_REMOVED_SINCE(6, 8)

QT_BEGIN_NAMESPACE

namespace QTest {

Q_TESTLIB_EXPORT char *toString(const void *p)
{
    const volatile void *ptr = p;
    return toString(ptr);
}

} // namespace QTest

QT_END_NAMESPACE

// #include "qotherheader.h"
// implement removed functions from qotherheader.h
// order sections alphabetically to reduce chances of merge conflicts

#endif // QT_TESTLIB_REMOVED_SINCE(6, 8)