Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.0
-
None
-
-
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
For Gerrit Dashboard: QTBUG-135650 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
637714,2 | Fix linker errors when building bootstrap lib on macOS | dev | qt/qtbase | Status: MERGED | +2 | 0 |
638429,2 | Fix linker errors when building bootstrap lib on macOS | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |