Results 1 to 2 of 2

Thread: How to disable creation of qt temporary files

  1. #1
    Join Date
    Apr 2015
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to disable creation of qt temporary files

    I have a Qt embedded application that uses an ini file for storage of configuration information. I have modified the power on/off management of this file to reduce corruption if power is abruptly interrupted. My testing includes cycling power every 2 minutes with a variable on to off duty cycle to simulate random power failures. I have minimized corruption of my ini file but have noticed a number of qt_temp.xxxx files after days of testing. How do I disable these file from being created. I am using QFile classes as well as QSettings classes.
    Thanks,

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to disable creation of qt temporary files

    You would have to remove all functionality from Qt which makes use of these files or simply have them created in a ramdisk.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Creation of .ts Files in Visual Studio
    By Ragnaron in forum Installation and Deployment
    Replies: 0
    Last Post: 9th March 2010, 10:56
  2. How to avoid creation of MOC files on each compilation
    By nileshsince1980 in forum Qt Programming
    Replies: 4
    Last Post: 29th May 2009, 09:00
  3. Replies: 5
    Last Post: 23rd February 2007, 11:23
  4. [QT3] Temporary Folder Temporary File
    By Senpai in forum Qt Programming
    Replies: 10
    Last Post: 6th October 2006, 11:54

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.