summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringconverter_base_deprecated.h
blob: 53f6d9c54e3f0cda4a871c44d0ec5676a67e58c3 (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
// Copyright (C) 2025 Intel Corporation
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:header-decls-only

#ifndef QSTRINGCONVERTER_BASE_DEPRECATED_H
#define QSTRINGCONVERTER_BASE_DEPRECATED_H

#if 0
#pragma qt_class(QStringConverterBase)
#pragma qt_no_master_include
#pragma qt_sync_stop_processing
#endif

#include <QtCore/qcompilerdetection.h>
#include <QtCore/qstringconverter.h>

#ifdef Q_CC_GNU
#  warning "QStringConverterBase is not a public class and including " \
        "<QtCore/QStringConverterBase> is deprecated. The header will disappear" \
        " in Qt 7"
#elif defined(Q_CC_MSVC)
#  pragma message("QStringConverterBase is not a public class and including " \
    "<QtCore/QStringConverterBase> is deprecated. The header will disappear" \
    " in Qt 7")
#endif

#endif // QSTRINGCONVERTER_BASE_DEPRECATED_H