Bootstrap: remove unused sources

None of this is used.

Change-Id: I8ced5410f276d47065fafffd4bcad394de968599
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
This commit is contained in:
Thiago Macieira 2024-12-29 13:28:35 -03:00
parent bf76387507
commit 2d40e30e34
4 changed files with 5 additions and 3 deletions

View File

@ -67,6 +67,7 @@ struct TypeDefinition
// Ignore these types, as incomplete // Ignore these types, as incomplete
#ifdef QT_BOOTSTRAPPED #ifdef QT_BOOTSTRAPPED
template<> struct TypeDefinition<qfloat16> { static const bool IsAvailable = false; };
template<> struct TypeDefinition<QBitArray> { static const bool IsAvailable = false; }; template<> struct TypeDefinition<QBitArray> { static const bool IsAvailable = false; };
template<> struct TypeDefinition<QByteArrayList> { static const bool IsAvailable = false; }; template<> struct TypeDefinition<QByteArrayList> { static const bool IsAvailable = false; };
template<> struct TypeDefinition<QCborArray> { static const bool IsAvailable = false; }; template<> struct TypeDefinition<QCborArray> { static const bool IsAvailable = false; };

View File

@ -277,6 +277,7 @@ QCborStreamWriter::QCborStreamWriter(QIODevice *device)
{ {
} }
#ifndef QT_BOOTSTRAPPED
/*! /*!
Creates a QCborStreamWriter object that will append the stream to \a data. Creates a QCborStreamWriter object that will append the stream to \a data.
All streaming is done immediately to the byte array, without the need for All streaming is done immediately to the byte array, without the need for
@ -295,6 +296,7 @@ QCborStreamWriter::QCborStreamWriter(QByteArray *data)
d->deleteDevice = true; d->deleteDevice = true;
d->device->open(QIODevice::WriteOnly | QIODevice::Unbuffered); d->device->open(QIODevice::WriteOnly | QIODevice::Unbuffered);
} }
#endif
/*! /*!
Destroys this QCborStreamWriter object and frees any resources associated. Destroys this QCborStreamWriter object and frees any resources associated.

View File

@ -936,6 +936,7 @@ QTextStream::QTextStream(QString *string, OpenMode openMode)
d->status = Ok; d->status = Ok;
} }
#ifndef QT_BOOTSTRAPPED
/*! /*!
Constructs a QTextStream that operates on \a array, using \a Constructs a QTextStream that operates on \a array, using \a
openMode to define the open mode. Internally, the array is wrapped openMode to define the open mode. Internally, the array is wrapped
@ -987,6 +988,7 @@ QTextStream::QTextStream(const QByteArray &array, OpenMode openMode)
#endif #endif
d->status = Ok; d->status = Ok;
} }
#endif
/*! /*!
Constructs a QTextStream that operates on \a fileHandle, using \a Constructs a QTextStream that operates on \a fileHandle, using \a

View File

@ -18,12 +18,9 @@ qt_internal_add_sync_header_dependencies(Bootstrap Core)
qt_internal_extend_target(Bootstrap qt_internal_extend_target(Bootstrap
SOURCES SOURCES
../../corelib/global/qassert.cpp ../../corelib/global/qassert.cpp
../../corelib/global/qfloat16.cpp
../../corelib/global/qlogging.cpp ../../corelib/global/qlogging.cpp
../../corelib/global/qmalloc.cpp
../../corelib/global/qtenvironmentvariables.cpp ../../corelib/global/qtenvironmentvariables.cpp
../../corelib/io/qabstractfileengine.cpp ../../corelib/io/qabstractfileengine.cpp
../../corelib/io/qbuffer.cpp
../../corelib/io/qdebug.cpp ../../corelib/io/qdebug.cpp
../../corelib/io/qdir.cpp ../../corelib/io/qdir.cpp
../../corelib/io/qfile.cpp ../../corelib/io/qfile.cpp