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

        1. 17319808978650420903.sh
          3 kB
          Egor Pugin
        2. 2511097937644663567.sh
          13 kB
          Egor Pugin
        3. 546690975424887312.sh
          3 kB
          Egor Pugin
        For Gerrit Dashboard: QTBUG-135650
        # Subject Branch Project Status CR V

        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