Results 1 to 6 of 6

Thread: Multi thread problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Multi thread problem

    Quote Originally Posted by sreedhar
    Then if an operation is already running in gui, the gui crashes
    So you have to either wait for the GUI to finish or make the GUI delete those objects when it doesn't need them anymore.

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

    sreedhar (28th June 2006)

  3. #2
    Join Date
    Jan 2006
    Posts
    75
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 5 Times in 4 Posts

    Default Re: Multi thread problem

    http://doc.trolltech.com/4.1/qobject.html#deleteLater

    for any object that are extend from QObject, use the deleteLater function rather than directly use the [delete] operator

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

    sreedhar (28th June 2006)

Similar Threads

  1. Thread problem with windows
    By vratojr in forum Qt Programming
    Replies: 17
    Last Post: 16th June 2006, 09:34
  2. Problem in creating thread in GUI application
    By jyoti kumar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2006, 13:05
  3. [QT4] QThread and printing a QList<QPixmap>
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 22:44
  4. Thread Problem
    By qball2k5 in forum Qt Programming
    Replies: 2
    Last Post: 12th April 2006, 18:31
  5. Problem building Qt4.1.0 with thread support on windows XP
    By pavithra in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 12:35

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.