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

mkspecs/common/posix: fix !largefile builds on uClibc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.1
    • Core: I/O
    • None
    • linux/uClibc

    Description

      uClibc doesn't even define O_LARGEFILE when not configured with large file support, so ensure this define is only used when Qt is built with -largefile, otherwise the build fails with:

          io/qtemporaryfile.cpp: In function 'bool createFileFromTemplate(
              NativeFileHandle&, QFileSystemEntry::NativePath&, size_t, size_t,
              QSystemError&)':
          io/qtemporaryfile.cpp:197:57: error: 'O_LARGEFILE' was not declared in this scope
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            jacmet Peter Korsgaard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes