Results 1 to 4 of 4

Thread: writing in text file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: writing in text file

    Did you try QIODevice::Append ?

  2. The following user says thank you to squidge for this useful post:

    ready (3rd July 2011)

  3. #2
    Join Date
    Mar 2011
    Posts
    36
    Thanks
    30
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: writing in text file

    No I didn't ...and I have very little idea about this...
    would you please mind elaborating this??

  4. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: writing in text file

    Something like:

    Qt Code:
    1. file.open(QIODevice::WriteOnly | QIODevice::Append);
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Writing text file in execlusive mode
    By viglu in forum Qt Programming
    Replies: 4
    Last Post: 1st April 2011, 22:17
  2. Writing the text within a text edit to a file
    By Splatify in forum Newbie
    Replies: 4
    Last Post: 23rd February 2011, 22:48
  3. writing to a text-file
    By QtBros61 in forum Newbie
    Replies: 7
    Last Post: 9th April 2010, 11:15
  4. Writing raw bytes as text?
    By DiamonDogX in forum Qt Programming
    Replies: 1
    Last Post: 18th May 2009, 16:56
  5. Writing Text on a Rectangle!!!
    By Kapil in forum Qt Programming
    Replies: 3
    Last Post: 17th May 2006, 10:23

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.