Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is QFile fully supported on Android and iOS?
Forum Updated to NodeBB v4.3 + New Features

Is QFile fully supported on Android and iOS?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 4 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nathaniel Johnson
    wrote on last edited by
    #1

    I am new to the QT community but experienced in C++ development. I have tried to ask this question but I believe that I am not phrasing it right. Here is my latest attempt.

    I am working on a proof of concept and I have several questions about the mobile versions that I assume are all true but I wanted to get feedback.

    Is QFile fully supported on Android and iOS?

    Can I write to QFile or is it available only as a read-only part of my distribution?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AlexDenisov
      wrote on last edited by
      #2

      Hi, Nathaniel.
      Your question partially answered at this topic:
      http://qt-project.org/forums/viewthread/36263/

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Yes it is, but mobile platforms have other rules regarding access to the underlying file system. Thus you won't be able to write in every place on your device. QDesktopService/QStandardPaths (Qt4/Qt5) will give you the folders where you can access files

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kolegs
          wrote on last edited by
          #4

          Hi.
          About Android I use QFile class a lot there and i have no problem at all, for now everything works just as good as on linux or windows, write, read, copy, setpermissions etc.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved