qtbase-gcc11.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. diff --git a/examples/corelib/tools/contiguouscache/randomlistmodel.h b/examples/corelib/tools/contiguouscache/randomlistmodel.h
  2. index 1fabb0d9..393ebaa3 100644
  3. --- a/examples/corelib/tools/contiguouscache/randomlistmodel.h
  4. +++ b/examples/corelib/tools/contiguouscache/randomlistmodel.h
  5. @@ -50,6 +50,7 @@
  6. #ifndef RANDOMLISTMODEL_H
  7. #define RANDOMLISTMODEL_H
  8. +#include <limits>
  9. #include <QContiguousCache>
  10. #include <QAbstractListModel>
  11. diff --git a/src/corelib/text/qanystringview.h b/src/corelib/text/qanystringview.h
  12. index a7606253..60747cf0 100644
  13. --- a/src/corelib/text/qanystringview.h
  14. +++ b/src/corelib/text/qanystringview.h
  15. @@ -39,6 +39,7 @@
  16. #ifndef QANYSTRINGVIEW_H
  17. #define QANYSTRINGVIEW_H
  18. +#include <limits>
  19. #include <QtCore/qstringview.h>
  20. #include <QtCore/qutf8stringview.h>
  21. diff --git a/src/corelib/text/qbytearray.h b/src/corelib/text/qbytearray.h
  22. index 9f646aaa..a5af793c 100644
  23. --- a/src/corelib/text/qbytearray.h
  24. +++ b/src/corelib/text/qbytearray.h
  25. @@ -41,6 +41,7 @@
  26. #ifndef QBYTEARRAY_H
  27. #define QBYTEARRAY_H
  28. +#include <limits>
  29. #include <QtCore/qrefcount.h>
  30. #include <QtCore/qnamespace.h>
  31. #include <QtCore/qarraydata.h>