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

bool QFileInfo::isWritable () const platform differences

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4: Low P4: Low
    • Some future release
    • 4.3.2
    • Core: I/O
    • None

      This app will print true on windows and false on x11/mac

      #include <QFileInfo>
      #include <QDebug>
      int main()
      {
      QFileInfo file("filethatdoesn'texist");
      qDebug() << file.isWritable();
      return 0;
      }

      Update: As a workaround, you can check file.exists() first.

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

            biochimia João Abecasis
            rve Anders Bakken
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes