Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104931

Error Compiling QT5 from source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.12
    • Build System
    • None
    • Linux/X11

    Description

      Build failing when building from source

      Error report:

      numeric_limits is not a member of std

      amongst others

       

      Issue can be fixed by adding:

      #include <limits>

      to the following files:

      qtbase/src/corelib/glibal/qendian.h
      qtbase/src/corelib/tools/qbytearraymatcher.h
      qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h

      As far as I can tell this solves the issue

       

      I've done some research and it seems to be an issue with gcc11, so I don't know if this will affect anything else

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              rhodso Richard Rhodes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes