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

Using QFile::copy is creating qt_temp.xx file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P5: Not important P5: Not important
    • None
    • 4.8.2, 5.11.1
    • Core: I/O
    • None
    • Red Hat Linux 6 Enter

      When QFile::copy is used, there is a qt_temp.xxxx file is getting created in the same directory.

      Example code :

      QFile file( QString(DEFAULT_DIR) + QString(LOG));
      if (file.open(QFile::ReadOnly)) {
          QFile::copy( QString(DEFAULT_DIR) + QString(LOG), QString(DEFAULT_DIR) + "LogBKP.xml" );
          file.close();
      }
      

      Note : The log file size is too big, and also qt_temp.xx file also too big

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

            Eddy Edward Welbourne
            suvarna Suvarna L T
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes