Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44281

QFile::setPermission does not work on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.4.0
    • Core: I/O
    • None
    • Windows 7 / Qt 5.4.0 / MinGW
      Android 4.4 / LG L90
    • Android

    Description

      I am trying to change read+write permissions on file in a Android device, using QFile::setPermissions (QString(MyFile.db), QFileDevice::ReadOwner QFileDevice::WriteOwner), in Qt 5.4.0 for Windows (Win 7) and I received this message (during compilation) : no matching function for call to QFile::setPermissions(QString, bool);.
      But there is no version of setPermissions with this signature (QString, bool)...
      What I am doing wrong??
      Thanks in advance...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rampe Rami Potinkara
            Tercete Fernando Leal de Menezes
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes