summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/CMakeLists.txt1
-rw-r--r--src/corelib/global/qassert.h2
-rw-r--r--src/corelib/global/qoverload.h2
-rw-r--r--src/corelib/global/qtdeprecationmarkers.h2
-rw-r--r--src/corelib/global/qtnamespacemacros.h9
5 files changed, 3 insertions, 13 deletions
diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt
index 50b9009f8d..b0af806710 100644
--- a/src/corelib/CMakeLists.txt
+++ b/src/corelib/CMakeLists.txt
@@ -76,7 +76,6 @@ qt_internal_add_module(Core
global/qsystemdetection.h
global/qtconfigmacros.h
global/qtdeprecationmarkers.h
- global/qtnamespacemacros.h
global/qtrace_p.h
global/qtranslation.h
global/qtversionchecks.h
diff --git a/src/corelib/global/qassert.h b/src/corelib/global/qassert.h
index 063cdf89c4..7e3deedccd 100644
--- a/src/corelib/global/qassert.h
+++ b/src/corelib/global/qassert.h
@@ -5,7 +5,7 @@
#define QASSERT_H
#include <QtCore/qcompilerdetection.h>
-#include <QtCore/qtnamespacemacros.h>
+#include <QtCore/qtconfigmacros.h>
#if 0
#pragma qt_class(QtAssert)
diff --git a/src/corelib/global/qoverload.h b/src/corelib/global/qoverload.h
index 9e95815389..9376e1e246 100644
--- a/src/corelib/global/qoverload.h
+++ b/src/corelib/global/qoverload.h
@@ -4,7 +4,7 @@
#ifndef QOVERLOAD_H
#define QOVERLOAD_H
-#include <QtCore/qtnamespacemacros.h>
+#include <QtCore/qtconfigmacros.h>
#if 0
#pragma qt_class(QOverload)
diff --git a/src/corelib/global/qtdeprecationmarkers.h b/src/corelib/global/qtdeprecationmarkers.h
index 2fd382ad0d..858b00601b 100644
--- a/src/corelib/global/qtdeprecationmarkers.h
+++ b/src/corelib/global/qtdeprecationmarkers.h
@@ -4,8 +4,8 @@
#ifndef QTDEPRECATIONMARKERS_H
#define QTDEPRECATIONMARKERS_H
+#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtversionchecks.h>
-#include <QtCore/qtnamespacemacros.h>
QT_BEGIN_NAMESPACE
diff --git a/src/corelib/global/qtnamespacemacros.h b/src/corelib/global/qtnamespacemacros.h
deleted file mode 100644
index 49c1e08842..0000000000
--- a/src/corelib/global/qtnamespacemacros.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (C) 2022 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
-
-#ifndef QTNAMESPACEMACROS_H
-#define QTNAMESPACEMACROS_H
-
-#include <QtCore/qtconfigmacros.h>
-
-#endif /* QTNAMESPACEMACROS_H */