Results 1 to 3 of 3

Thread: qlist error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    12
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Wink qlist error

    Hi,

    I am doing following in the attached file 1.txt.

    a) read a list
    b) for each item in the list
    c) run an external process save it in A file
    d) read A file, save modification in B file
    e) thatz it

    and following error occurs.

    ASSERT failure in QList<T>:perator[]: "index out of range", file /opt/qtsdk-2009.02/qt/include/QtCore/qlist.h, line 403

    2.txt is one instance of file 1.txt ( no loop ) and it runs successfully.

    How is it possible to have the loop run successfully modifying the file.
    Please suggest with an example. That will help.

    PS: you will need file queue_output.txt in tmp folder to run this code.
    Attached Files Attached Files

Similar Threads

  1. Gtk error when installing Qt in linux
    By john_god in forum Installation and Deployment
    Replies: 1
    Last Post: 18th November 2009, 05:08
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  4. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19
  5. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31

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.