From f0e5910c305aa143dcf1238342fe6bf036d97dfc Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Wed, 1 Mar 2023 12:42:12 +0200 Subject: Android: document limitation for QFile::copy() operation for content uri Document that the operation is not supported. Task-number: QTBUG-98974 Change-Id: I1faacb7af7e11943d6da62313ed104fda063d30d Reviewed-by: Rami Potinkara Reviewed-by: Nicholas Bennett (cherry picked from commit 7af39be05295c5743d04ef83468a0d250141b145) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/io/qfile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 997a5f8bd5..f23b9f77fa 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -727,6 +727,9 @@ QFile::link(const QString &fileName, const QString &linkName) \include qfile-copy.qdocinc + \note On Android, this operation is not yet supported for \c content + scheme URIs. + \sa setFileName() */ @@ -837,6 +840,9 @@ QFile::copy(const QString &newName) \include qfile-copy.qdocinc + \note On Android, this operation is not yet supported for \c content + scheme URIs. + \sa rename() */ -- cgit v1.2.1