From c41b6b7986cdf68c18a20ae6ef54efe1e9c1396e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 31 Jul 2024 08:07:02 -0700 Subject: [PATCH] QFile::moveFileToTrash: explicitly disable Android support This code has been enabled but didn't work: we kept getting permission errors on use. So let's save some library size. Pick-to: 6.8 Change-Id: Ifb754f0e28774c20aa7cfffd17e7549e7624e42a Reviewed-by: Ahmad Samir --- src/corelib/io/qfilesystemengine_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp index c7df9ca8c4c..4fa4af82f29 100644 --- a/src/corelib/io/qfilesystemengine_unix.cpp +++ b/src/corelib/io/qfilesystemengine_unix.cpp @@ -1182,7 +1182,7 @@ bool QFileSystemEngine::createLink(const QFileSystemEntry &source, const QFileSy #ifdef Q_OS_DARWIN // see qfilesystemengine_mac.mm -#elif defined(QT_BOOTSTRAPPED) || !defined(AT_FDCWD) +#elif defined(QT_BOOTSTRAPPED) || !defined(AT_FDCWD) || defined(Q_OS_ANDROID) // bootstrapped tools don't need this, and we don't want QStorageInfo //static bool QFileSystemEngine::supportsMoveFileToTrash()