QtGui: establish removed_api.cpp for upcoming QT_GUI_REMOVED_SINCE
Change-Id: I9715c11fc6431e7046193a1d68807155ad7bea05 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
1e566d19dc
commit
dae858b710
@ -56,6 +56,7 @@ qt_internal_add_module(Gui
|
||||
Qt::Network
|
||||
QMAKE_MODULE_CONFIG "${qmake_module_config}"
|
||||
SOURCES
|
||||
compat/removed_api.cpp
|
||||
image/qabstractfileiconengine.cpp image/qabstractfileiconengine_p.h
|
||||
image/qabstractfileiconprovider.cpp image/qabstractfileiconprovider.h image/qabstractfileiconprovider_p.h
|
||||
image/qbitmap.cpp image/qbitmap.h
|
||||
@ -275,6 +276,7 @@ qt_internal_add_module(Gui
|
||||
PRIVATE_MODULE_INTERFACE
|
||||
Qt::CorePrivate
|
||||
NO_PCH_SOURCES
|
||||
compat/removed_api.cpp
|
||||
painting/qdrawhelper.cpp
|
||||
PRECOMPILED_HEADER
|
||||
"kernel/qt_gui_pch.h"
|
||||
|
24
src/gui/compat/removed_api.cpp
Normal file
24
src/gui/compat/removed_api.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#define QT_GUI_BUILD_REMOVED_API
|
||||
|
||||
#include "qtguiglobal.h"
|
||||
|
||||
QT_USE_NAMESPACE
|
||||
|
||||
#if QT_GUI_REMOVED_SINCE(6, 6)
|
||||
|
||||
// #include "qotherheader.h"
|
||||
// // implement removed functions from qotherheader.h
|
||||
// order sections alphabetically
|
||||
|
||||
#endif // QT_GUI_REMOVED_SINCE(6, 6)
|
||||
|
||||
#if QT_GUI_REMOVED_SINCE(6, 7)
|
||||
|
||||
// #include "qotherheader.h"
|
||||
// // implement removed functions from qotherheader.h
|
||||
// order sections alphabetically
|
||||
|
||||
#endif // QT_GUI_REMOVED_SINCE(6, 7)
|
Loading…
x
Reference in New Issue
Block a user