Results 1 to 6 of 6

Thread: Loading text with the first line ending with tabulator causes crash

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2011
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Loading text with the first line ending with tabulator causes crash

    Hello,

    i've got a program loading several text files and displaying the content using a QLabel embedded in a QScrollarea.
    This works quite fine, except when I load a file thats first line ends with a tab. The Text file is still loaded correctly, but when resizing the Label or changing the Stylesheet of the Scrollarea I receive a segfault.

    The Objects are all instatieated properly and I can also view other textfiles before producing the crash.


    I have no idea, what the actual problem is, i don't even have an idea, what to search for, so maybe someone can give me a hand what to try next.
    Last edited by Zorki; 15th June 2011 at 18:53.

Similar Threads

  1. loadFromData() of QImage crash in case of .gif loading
    By santosh.kumar in forum Qt Programming
    Replies: 11
    Last Post: 9th March 2011, 11:52
  2. loadFromData() of QImage -crash in case of .gif loading
    By santosh.kumar in forum Qt Programming
    Replies: 1
    Last Post: 3rd March 2011, 11:56
  3. QPlainText Edit and text lines
    By aarelovich in forum Qt Programming
    Replies: 4
    Last Post: 23rd June 2010, 13:09
  4. plot with hor. lines and text
    By hugo vanwoerkom in forum Qwt
    Replies: 2
    Last Post: 10th March 2010, 17:00
  5. I want to get lines of text
    By newplayer in forum Qt Programming
    Replies: 11
    Last Post: 29th July 2008, 09:03

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.