Results 1 to 4 of 4

Thread: How to use QTextStream to replace std::ostringstream

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,327
    Thanks
    317
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to use QTextStream to replace std::ostringstream

    In line 12, you are retrieving the contents of a variable named "lcStream", which is not the same variable as "_Stream".
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

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

    edmhourigan (29th November 2020)

Similar Threads

  1. search and replace in js with qt
    By Same_Andy in forum Newbie
    Replies: 1
    Last Post: 30th January 2016, 00:54
  2. Problems with replace
    By feraudyh in forum Qt Tools
    Replies: 1
    Last Post: 27th March 2014, 07:54
  3. Replace keyPressEvent (dot with tab)
    By the_bis in forum Qt Programming
    Replies: 1
    Last Post: 6th June 2008, 10:43
  4. How do I replace a widget?
    By pir in forum Qt Programming
    Replies: 4
    Last Post: 24th July 2006, 16:51

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