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

[6.9.0] Build error during bootstrap

    XMLWordPrintable

Details

    • macOS
    • fc277e3ff (dev), 13871ee86 (6.9)

    Description

      Macos bootstrap does not include qfilesystemengine_mac.mm, but uses qfilesystemengine_unix.cpp instead.

      But this incorrect ifdef does not pass compiler to stubs below.

      https://github.com/qt/qtbase/blob/dev/src/corelib/io/qfilesystemengine_unix.cpp#L1277

       

      This results into

      ld64.lld: error: undefined symbol: QFileSystemEngine::supportsMoveFileToTrash()
      ld64.lld: error: undefined symbol: QFileSystemEngine::moveFileToTrash(QFileSystemEntry const&, QFileSystemEntry&, QSystemError&)

       

      That ifdef should be `#if defined(Q_OS_DARWIN) && !defined(QT_BOOTSTRAPPED)`

       

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            egorpugin Egor Pugin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes