Results 1 to 2 of 2

Thread: QThread::terminate () is not working!!!!!

  1. #1
    Join Date
    Jul 2008
    Location
    india
    Posts
    12
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default QThread::terminate () is not working!!!!!

    Hi,

    i am using qthread to create and run a thread. but when i am trying to terminate the thread using QThread::terminate() it fails to terminate .

    Qt says it is dangerous to use qthred but i have no other option.

    what should i do to terminate that running thread.

    thanks
    biswajit

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QThread::terminate () is not working!!!!!

    Docs say it is dangerous to use terminate, not to use QThread. Please search the forum, the issue has been brought up a few times lately.

Similar Threads

  1. QDevelop and CTags -> Not working
    By philwinder in forum Qt-based Software
    Replies: 13
    Last Post: 9th May 2008, 22:40
  2. Set Working Directory in VS
    By Lele in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2008, 18:03
  3. Don't want QTextBrowser to look in working directory
    By magland in forum Qt Programming
    Replies: 1
    Last Post: 21st October 2007, 00:14
  4. GUI thread and Working thread comunication
    By FasTTo in forum Qt Programming
    Replies: 2
    Last Post: 13th September 2007, 16:31
  5. Replies: 1
    Last Post: 11th June 2006, 23:25

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.