diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-01-27 14:44:13 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-02-09 19:49:37 +0100 |
commit | d03385df9de8715dc97287142dde8882d134cbd1 (patch) | |
tree | 47a75ef6af1fcfc679404194a86a2ec0d3a40fff /src/corelib/serialization/qxmlstream.cpp | |
parent | 4fb59234329951b3ea3d252078ff2b8353184d46 (diff) |
Remove QXml* from bootstrap lib
Those classes are not used by any bootstrapped tool.
Also remove the QT_BOOTSTRAPPED code paths.
Change-Id: Ic5a9b153a578fedcba37cd81a62ccf0182a2d34f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/serialization/qxmlstream.cpp')
-rw-r--r-- | src/corelib/serialization/qxmlstream.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/serialization/qxmlstream.cpp b/src/corelib/serialization/qxmlstream.cpp index 68c06eb0bd..ed9a3233d1 100644 --- a/src/corelib/serialization/qxmlstream.cpp +++ b/src/corelib/serialization/qxmlstream.cpp @@ -49,20 +49,7 @@ #include <qstack.h> #include <qbuffer.h> #include <qscopeguard.h> -#ifndef QT_BOOTSTRAPPED #include <qcoreapplication.h> -#else -// This specialization of Q_DECLARE_TR_FUNCTIONS is not in qcoreapplication.h, -// because that header depends on QObject being available, which is not the -// case for most bootstrapped applications. -#define Q_DECLARE_TR_FUNCTIONS(context) \ -public: \ - static inline QString tr(const char *sourceText, const char *comment = nullptr) \ - { Q_UNUSED(comment); return QString::fromUtf8(sourceText); } \ - static inline QString tr(const char *sourceText, const char*, int) \ - { return QString::fromUtf8(sourceText); } \ -private: -#endif #include <iterator> #include "qxmlstream_p.h" |