Results 1 to 5 of 5

Thread: update .txt file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    201
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    19
    Thanked 1 Time in 1 Post

    Default Re: update .txt file

    Thank u verymuch. But its not appending in new line. can u plz tell me how to append at new line?
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    62
    Thanked 260 Times in 246 Posts

    Default Re: update .txt file

    Open the text file with wordpad. (i don't know the exact explanation why notepad doesn't show them, but new-lines are there)

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: update .txt file

    If you are on Windows then you may need the QIODevice::Text flag to cause the end-of-line conversion from "\n" to "\r\n".

  4. The following user says thank you to ChrisW67 for this useful post:

    Zlatomir (23rd June 2010)

Similar Threads

  1. To update iTunes Library File .
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 28th April 2010, 11:58
  2. Replies: 5
    Last Post: 30th January 2010, 10:09
  3. update the xml file from QT program
    By rk0747 in forum Newbie
    Replies: 5
    Last Post: 28th January 2010, 18:20
  4. Replies: 1
    Last Post: 11th November 2009, 17:28
  5. How to Update in .ini file?
    By phillip_Qt in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2008, 13:40

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.