Results 1 to 3 of 3

Thread: [SOLVED] Recreate .ini file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default [SOLVED] Recreate .ini file

    Hi,

    i am working on a small application which stores some values in an .ini file. That is realized using QSettings & iniFormat.

    While launching the app i check if the file exists - and read the informations if possible.

    Right now i am wondering about one case

    What happens if there is no .ini at all ?

    What is the best way to create (in the background) a new file (with some example data) on a defined location after asking the user if the file should be re-created ?


    Any idea or help is appreciated
    Best regards
    el
    Last edited by el; 3rd December 2009 at 12:20.

Similar Threads

  1. Double Clicking Pro File
    By BalaQT in forum Installation and Deployment
    Replies: 2
    Last Post: 18th November 2009, 05:23
  2. Read binary from file
    By weldpua2008 in forum Newbie
    Replies: 2
    Last Post: 3rd April 2009, 23:50
  3. How to Update in .ini file?
    By phillip_Qt in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2008, 13:40
  4. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

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
  •  
Qt is a trademark of The Qt Company.